Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 442 Bytes
commit = $(shell git rev-parse HEAD)
commit_short = $(shell git rev-parse --short HEAD)
comment = Build from $(shell git symbolic-ref --short HEAD)\#$(commit)
all:
gulp build
gulp minify
cp -f README.md affinity/README.md
cp -f package.json affinity/package.json
echo $(comment) > affinity/.build
rm -f build/affinity-$(commit_short).zip
zip -9llrX build/affinity-$(commit_short).zip affinity
clean:
rm -rf build/*.zip
You can’t perform that action at this time.