Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
make file includes release bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
brehaut committed Aug 27, 2014
1 parent 41fdffd commit 3afdbdd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ out/*
/static/js/main.js
/static/js/main.js.map
/static/data/custom.json
/manticore-release.zip
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ build: clean bundle_contrib_js
cp index.html target/
tsc src/ts/manticore.ts --removeComments --out target/static/js/main.js

release: build_stock
echo '{"campaign": [\n ["Example monster", 1, "normal", "troop", ["test", "tags"]]\n]}\n' > target/static/data/custom.json
zip manticore-release.zip -r target

clean:
rm -rf target
rm static/js/*

bundle_contrib_js:
cat src/js/contrib/* > static/js/contrib.js
Expand Down

0 comments on commit 3afdbdd

Please sign in to comment.