Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d94d41b
commit 776283e
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
all : templates client-devel | ||
all : templates client-production | ||
production : templates client-production | ||
production-notc : templates client-production-notc | ||
.PHONY: templates all client-devel client-production client-production-notc devel-server production | ||
.PHONY: templates all client-production client-production-notc devel-server production | ||
templates : | ||
find ./templates -name "*.tmpl" -exec sh -c 'T=$$(echo {}); T=$${T#./templates/}; cheetah compile --nobackup --odir cmpltmpl --idir templates "$$T"' \; | ||
client-production : | ||
nodejs node_modules/webpack/bin/webpack.js --config webpack.prod.js | ||
client-production-notc : | ||
nodejs node_modules/webpack/bin/webpack.js --config webpack.prod.js --env.TS_TRANSPILE_ONLY | ||
client-devel : | ||
nodejs node_modules/webpack/bin/webpack.js --config webpack.dev.js | ||
devel-server : | ||
nodejs node_modules/webpack-dev-server/bin/webpack-dev-server.js --config webpack.dev.js |