From 5366753037dfbbc242fe974cf2f2b8ba4499ac2b Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Mon, 22 Jul 2013 09:12:39 -0400 Subject: convert scripts to JSON, misc changes --- unrpyc/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 unrpyc/Makefile (limited to 'unrpyc/Makefile') diff --git a/unrpyc/Makefile b/unrpyc/Makefile new file mode 100644 index 0000000..86dcac3 --- /dev/null +++ b/unrpyc/Makefile @@ -0,0 +1,16 @@ +all: $(patsubst %.rpyc,%.json,$(wildcard *.rpyc)) + +%.json.o: %.rpyc *.py + python unrpyc.py --clobber $< $@ + +%.json: %.json.o + node fix.js $< $@ + +clean: + rm -f *.json.o *.json + +test: all + jshint --show-non-errors *.json + +.PHONY: all clean test +.PRECIOUS: %.json.o -- cgit v1.2.3-70-g09d2