mirror of
https://github.com/gwenhael-le-moine/credger.git
synced 2024-12-27 09:58:20 +01:00
20 lines
562 B
Makefile
20 lines
562 B
Makefile
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 $^ > $@
|
|
|
|
pull-deps:
|
|
crystal deps install
|
|
cd public/vendor; npm install
|
|
|
|
clean:
|
|
-rm public/js/app.min.js public/js/app.js
|
|
|
|
clean-all:
|
|
-rm -fr lib/ public/vendor/node_modules
|