pep8analysis: intro the web interface
[nit.git] / contrib / pep8analysis / Makefile
index 15809f8..6829411 100644 (file)
@@ -8,4 +8,9 @@ doc/index.html:
 tests: bin/pep8analysis
        bin/pep8analysis --cfg-long tests/privat/*.pep tests/micro/*.pep tests/terrasa/*.pep
 
-.PHONY: bin/pep8analysis tests doc/index.html
+www/pep8analysis.js:
+       ../../bin/nitg -o www/pep8analysis.js --semi-global src/pep8analysis_web.nit
+       mkdir -p www/samples
+       cp tests/micro/*.pep tests/privat/02-fibo.pep tests/privat/06-calc-non-pur.pep www/samples
+
+.PHONY: bin/pep8analysis tests doc/index.html www/pep8analysis.js