Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Commit

Permalink
Makefile to run all builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen304 committed Jan 14, 2015
1 parent dcd89ef commit a5c14a5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
build: build_web copy_web build_api
echo "BitCannon built to api/build"
deploy: build_web copy_web deploy_api
cd api; \
mv build bitcannon; \
zip -r ../BitCannon.zip bitcannon; \
mv bitcannon build

build_web:
cd web; \
grunt
build_api:
cd api; \
make build
deploy_api:
cd api; \
make deploy
copy_web:
rm -rf api/web
cp -r web/dist api/web
Empty file removed api/web/.gitkeep
Empty file.

0 comments on commit a5c14a5

Please sign in to comment.