summaryrefslogtreecommitdiff
path: root/Makefile
blob: ddfa81c8a75c0c9579f0ccb82d6ae7865db0f8be (plain)
1
2
3
4
5
6
7
8
9
10
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