diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-07-22 09:12:39 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-07-22 09:12:39 -0400 |
commit | 5366753037dfbbc242fe974cf2f2b8ba4499ac2b (patch) | |
tree | df1e340df2fcffbfda11cff3685cf960ddcd385d /unrpyc/Makefile | |
parent | 4cb31637006a33971464a03c1f055c3a87512b9a (diff) | |
download | html5ks-5366753037dfbbc242fe974cf2f2b8ba4499ac2b.tar.xz html5ks-5366753037dfbbc242fe974cf2f2b8ba4499ac2b.zip |
convert scripts to JSON, misc changes
Diffstat (limited to 'unrpyc/Makefile')
-rw-r--r-- | unrpyc/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
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 |