mirror of
https://github.com/gwenhael-le-moine/credger.git
synced 2024-12-26 09:58:36 +01:00
add Makefile
This commit is contained in:
parent
4cff98de69
commit
ab80bb8be2
1 changed files with 13 additions and 0 deletions
13
Makefile
Normal file
13
Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
all: credger public/js/app.min.js
|
||||
|
||||
credger: credger.cr ledger.cr
|
||||
crystal build $<
|
||||
|
||||
public/js/app.js: public/ts/app.ts public/ts/services/API.ts public/ts/components/dashboard.ts public/ts/components/bucket.ts
|
||||
-./public/vendor/node_modules/.bin/tsc --project ./public/tsconfig.json
|
||||
|
||||
public/js/app.min.js: public/js/app.js
|
||||
./public/vendor/node_modules/.bin/google-closure-compiler-js $^ > $@
|
||||
|
||||
clean:
|
||||
-rm public/js/app.min.js public/js/app.js
|
Loading…
Reference in a new issue