2017-11-24 13:50:25 +01:00
|
|
|
all: credger public/js/app.min.js
|
|
|
|
|
2019-02-14 11:50:54 +01:00
|
|
|
credger: credger.cr ledger.cr shard.lock
|
2021-04-10 17:38:30 +02:00
|
|
|
crystal build --release $<
|
2017-11-24 13:50:25 +01:00
|
|
|
|
|
|
|
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 $^ > $@
|
|
|
|
|
2017-11-24 15:08:37 +01:00
|
|
|
pull-deps:
|
2021-04-22 13:02:03 +02:00
|
|
|
shards install --production -v
|
2017-11-24 15:08:37 +01:00
|
|
|
cd public/vendor; npm install
|
|
|
|
|
2017-11-24 13:50:25 +01:00
|
|
|
clean:
|
2018-05-19 10:54:11 +02:00
|
|
|
-rm public/js/app.min.js public/js/app.js credger
|
2017-11-24 15:08:37 +01:00
|
|
|
|
|
|
|
clean-all:
|
|
|
|
-rm -fr lib/ public/vendor/node_modules
|