Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: Makefile

Issue 11577007: generate dartisans from playlist, keep everything up to date (Closed) Base URL: git@github.com:dart-lang/dartlang.org.git@master
Patch Set: tweaks from review Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | README » ('j') | README » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CURRENT_BRANCH=$(shell git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \1/') 1 CURRENT_BRANCH=$(shell git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \1/')
2 2
3 clean: 3 clean:
4 rm -rf ./build 4 rm -rf ./build
5 5
6 build: copy add_version 6 build: copy add_version
7 7
8 compass: 8 compass:
9 compass compile src/site/ 9 compass compile src/site/
10 10
11 copy: clean compass 11 copy: clean compass
12 cd ./src/site && jekyll --no-server --no-auto && cd ../.. && cp -R ./src /appengine/* build/ 12 cd ./src/site && jekyll --no-server --no-auto && cd ../.. && cp -R ./src /appengine/* build/
13 13
14 add_version: 14 add_version:
15 ruby -p -i -e '$$_.gsub!(/CHANGEME/, "$(CURRENT_BRANCH)")' ./build/app.y aml 15 ruby -p -i -e '$$_.gsub!(/CHANGEME/, "$(CURRENT_BRANCH)")' ./build/app.y aml
16 16
17 deploy: build 17 deploy: build
18 cd ./build && appcfg.py update . 18 cd ./build && appcfg.py update .
19 echo "Visit http://$(CURRENT_BRANCH).dart-lang.appspot.com" 19 echo "Visit http://$(CURRENT_BRANCH).dart-lang.appspot.com"
20 20
21 server: 21 server:
22 @open http://localhost:8080/ && cd ./src/site && jekyll && cd ../.. 22 @open http://localhost:8080/ && cd ./src/site && jekyll && cd ../..
23 23
24 optimize: 24 optimize:
25 @find . -iname *.png | xargs -L 1 optipng -o7 25 @find . -iname *.png | xargs -L 1 optipng -o7
26 26
27 o2: 27 o2:
28 @find . -iname *.png | xargs -L 1 optipng -o2 28 @find . -iname *.png | xargs -L 1 optipng -o2
29
30 dartisansplaylist:
31 dart scripts/gen_dartisans_playlist.dart
OLDNEW
« no previous file with comments | « no previous file | README » ('j') | README » ('J')

Powered by Google App Engine
This is Rietveld 408576698