Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3712)

Delta Between Two Patch Sets: juju/ec2/Makefile

Issue 5449065: juju/ec2: add code to accept an ec2 region in the configuration file.
Left Patch Set: - Created 12 years, 4 months ago
Right Patch Set: - Created 12 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | juju/ec2/config.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 include $(GOROOT)/src/Make.inc 1 include $(GOROOT)/src/Make.inc
2 2
3 all: package 3 all: package
4 4
5 TARG=launchpad.net/juju/go/juju/ec2 5 TARG=launchpad.net/juju/go/juju/ec2
6 6
7 GOFILES=\ 7 GOFILES=\
8 config.go\ 8 config.go\
9 ec2.go\ 9 ec2.go\
10 util.go\ 10 util.go\
11 11
12 GOFMT=gofmt 12 GOFMT=gofmt
13 BADFMT:=$(shell $(GOFMT) -l $(GOFILES) $(CGOFILES) $(wildcard *_test.go)) 13 BADFMT:=$(shell $(GOFMT) -l $(GOFILES) $(CGOFILES) $(wildcard *_test.go))
14 14
15 gofmt: $(BADFMT) 15 gofmt: $(BADFMT)
16 @for F in $(BADFMT); do $(GOFMT) -w $$F && echo $$F; done 16 @for F in $(BADFMT); do $(GOFMT) -w $$F && echo $$F; done
17 17
18 ifneq ($(BADFMT),) 18 ifneq ($(BADFMT),)
19 ifneq ($(MAKECMDGOALS),gofmt) 19 ifneq ($(MAKECMDGOALS),gofmt)
20 $(warning WARNING: make gofmt: $(BADFMT)) 20 $(warning WARNING: make gofmt: $(BADFMT))
21 endif 21 endif
22 endif 22 endif
23 23
24 include $(GOROOT)/src/Make.pkg 24 include $(GOROOT)/src/Make.pkg
25 25
LEFTRIGHT
« no previous file | juju/ec2/config.go » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b