193 makefile added

This commit is contained in:
Ivan Grishaev 2017-12-26 18:19:20 +03:00
parent 264a83c384
commit 7dbd327a3c
1 changed files with 41 additions and 0 deletions

41
Makefile Normal file
View File

@ -0,0 +1,41 @@
all: uberjar
.PHONY: contracts
contracts:
./build_contracts.sh
less:
lein less once
less-auto:
lein less auto
repl:
lein repl
uberjar:
lein uberjar
yarn:
yarn install
cljsbuild: yarn
lein cljsbuild once
figwheel: yarn
rlwrap lein figwheel
.PHONY: test
test:
lein test
migrate:
lein migratus migrate
create-migration:
@read -p "Enter migration name: " migration \
&& lein migratus create $$migration
orig:
find . -name '*.orig' -delete