X-Git-Url: http://nitlanguage.org diff --git a/contrib/online_ide/Makefile b/contrib/online_ide/Makefile index c4bc9b2..e8ed742 100644 --- a/contrib/online_ide/Makefile +++ b/contrib/online_ide/Makefile @@ -1,9 +1,18 @@ + +ACE_BUILDS ?= ../../../ace-builds/ + default: - ../../bin/nitg --global sources/nit/pnacl_nit.nit -I ../../src/ + ../../bin/nitc --semi-global sources/nit/pnacl_nit.nit -I ../../src/ cp pnacl_nit/pnacl_nit.pexe www/pnacl/ -f rm -rf pnacl_nit/ rm -rf .nit_compile +build-www: + rm -rf www/src + cp -r $(ACE_BUILDS)/src www/ + cp setup/mode-nit.js www/src/ + cp setup/nit.js www/src/snippets/ + HTTPD_PY := python $(NACL_SDK_ROOT)/tools/httpd.py serve: cd www/; \