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

Issue 6873071: Allow running targets without using bzr

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by matthew.scott
Modified:
11 years, 4 months ago
Reviewers:
benjamin.saller, mp+139518, benji
Visibility:
Public.

Description

Allow running targets without using bzr Added the flag NO_BZR which lets you run make as `NO_BZR=1 make [target]` in order to prevent make from running bzr commands, which can be slow due to network access, providing sensible defaults instead. https://code.launchpad.net/~makyo/juju-gui/bzr-make-1086794/+merge/139518 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 14

Patch Set 2 : Allow running targets without using bzr #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -14 lines) Patch
M Makefile View 1 6 chunks +46 lines, -9 lines 1 comment Download
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M docs/process.rst View 1 6 chunks +23 lines, -5 lines 0 comments Download

Messages

Total messages: 6
matthew.scott
Please take a look.
11 years, 4 months ago (2012-12-12 17:18:43 UTC) #1
gary.poster
Land with changes Looks good! Thank you. This will be great to have. https://codereview.appspot.com/6873071/diff/1/Makefile File ...
11 years, 4 months ago (2012-12-12 22:20:07 UTC) #2
benjamin.saller
LGTM I don't like that our make files keep getting more complex, we have many ...
11 years, 4 months ago (2012-12-13 04:02:59 UTC) #3
matthew.scott
Thanks Ben and Gary! As to the card about ENV=1 flags to make, I understand, ...
11 years, 4 months ago (2012-12-13 17:34:04 UTC) #4
matthew.scott
*** Submitted: Allow running targets without using bzr Added the flag NO_BZR which lets you ...
11 years, 4 months ago (2012-12-13 17:50:43 UTC) #5
benji
11 years, 4 months ago (2012-12-13 18:00:30 UTC) #6
This branch looks good.  I just had one comment about an available
simplification.

https://codereview.appspot.com/6873071/diff/6001/Makefile
File Makefile (right):

https://codereview.appspot.com/6873071/diff/6001/Makefile#newcode108
Makefile:108: SPRITE_SOURCE_FILES=$(shell find app/assets/images -type f ! -name
'.*' ! -name '*.swp' ! -name '*~' ! -name '\#*' -print)
It would seem more advisable to guess at the file types we are currently using
as images (not much of a guess) than to guess at all the files that might be in
that directory that are not images.

In other words, this should be

SPRITE_SOURCE_FILES=$(shell find app/assets/images -name '*.png')

Note that -print is the default, so doesn't have to be provided.
Sign in to reply to this message.

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