blob: 86dcac31281bf9563741896f420f39e10e5c1291 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
|