Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 9ab0bd24c5
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (19 sloc) 0.675 kb
CURRENT_BRANCH=$(shell git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
clean:
rm -rf ./build
build: copy add_version
compass:
compass compile src/site/
copy: clean compass
cd ./src/site && jekyll --no-server --no-auto && cd ../.. && cp -R ./src/appengine/* build/
add_version:
ruby -p -i -e '$$_.gsub!(/CHANGEME/, "$(CURRENT_BRANCH)")' ./build/app.yaml
deploy: build
cd ./build && appcfg.py update .
echo "Visit http://$(CURRENT_BRANCH).dart-lang.appspot.com"
server:
@open http://localhost:8080/ && cd ./src/site && jekyll && cd ../..
optimize:
@find . -iname *.png | xargs -L 1 optipng -o7
o2:
@find . -iname *.png | xargs -L 1 optipng -o2
Jump to Line
Something went wrong with that request. Please try again.