From 711269a7eb2e151512bcaf1afcf45b13540d8f8e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 14 Nov 2016 20:05:06 -0500 Subject: vendor codemirror --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0ec6d38..ddfa81c 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,10 @@ -all: +all: bin/edit +all: static/codemirror/lib/codemirror.js + +bin/edit: FORCE GOPATH=$$PWD go install edit +static/codemirror/lib/codemirror.js: static/codemirror/rollup.config.js $(shell find static/codemirror/src -name '*.js') + cd static/codemirror && npm install && npm run build && rm -rf node_modules + +.PHONY: FORCE -- cgit v1.2.3