summaryrefslogtreecommitdiff
path: root/node_modules/jju/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/jju/Makefile')
-rw-r--r--node_modules/jju/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/node_modules/jju/Makefile b/node_modules/jju/Makefile
new file mode 100644
index 0000000..2a663cf
--- /dev/null
+++ b/node_modules/jju/Makefile
@@ -0,0 +1,20 @@
+PATH := node_modules/.bin:$(PATH)
+
+all: package.json install
+
+install: package.json
+ yarn
+
+test:
+ mocha test/*.js
+
+lint:
+ eslint -c ./.eslint.yaml ./lib
+
+clean:
+ rm package.json yarn.lock
+
+package.json: package.yaml
+ js-yaml package.yaml > package.json
+
+.PHONY: clean all install lint test