forked from Aidbox/aidbox-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (24 loc) · 796 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
33
34
.EXPORT_ALL_VARIABLES:
.PHONY: test build
sdk-build:
clj -T:build-pm uber
sdk-publish:
cd vendor/publish && npm install && cp ../../target/zen.jar zen.jar && npm publish --access=public
repl:
clj -A:test -M:nrepl
test:
clj -A:test:kaocha
test-ci:
clojure -A:test:kaocha
outdated:
clj -Sdeps '{:deps {com.github.liquidz/antq {:mvn/version "RELEASE"}}}' -M -m antq.core
lint:
clj -Sdeps '{:deps {clj-kondo/clj-kondo {:mvn/version "RELEASE"}}}' -m clj-kondo.main --lint src --fail-level error --parallel
native:
clojure -M:native-image
CP=$(shell clojure -Spath -A:nrepl:profile:build-pm)
nvd:
clojure -Ttools install nvd-clojure/nvd-clojure '{:mvn/version "RELEASE"}' :as nvd
clojure -J-Dclojure.main.report=stderr -Tnvd nvd.task/check :classpath \"$(CP)\"
cve:
clojure -M:cve