-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
33 lines (25 loc) · 803 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: npm cljs nuke clean
version-number = 0.3.0
group-id = io.zalky
artifact-id = reflet
description = A set of tools for building Re-frame + React based web apps with graph and non-graph data models
license = :apache
url = https://github.com/zalky/reflet
include make-clj/Makefile
.makecache/npm-install: package.json
npm install
@mkdir -p .makecache
@touch .makecache/npm-install
npm: .makecache/npm-install
@:
cljs: npm
clojure -M:cljs/client release app
nuke:
@make nuke-super
@rm -rf .makecache
@rm -rf node_modules
@rm -rf .shadow-cljs
clean:
@echo "Cleaning target and resources"
@rm -rf target
@find resources -not -path "resources/audio*" -not -path "resources/client.css*" -not -name index.html -mindepth 1 -prune -exec rm -rf {} \;