reworked build system to use rebar, tests still use external script, moved jsx_decoder.erl template to /priv from /src

This commit is contained in:
alisdair sullivan 2010-07-26 18:04:23 -07:00
parent 862e5db7c3
commit a83a0a4ebc
10 changed files with 17 additions and 130 deletions

View file

@ -1,23 +1,9 @@
compile: expand
./priv/jsx_compile.escript\
src/jsx\
src/jsx_utf8\
src/jsx_utf16\
src/jsx_utf16le\
src/jsx_utf32\
src/jsx_utf32le
debug: expand
./priv/jsx_compile.escript -d\
src/jsx\
src/jsx_utf8\
src/jsx_utf16\
src/jsx_utf16le\
src/jsx_utf32\
src/jsx_utf32le
./rebar compile
./priv/backends.escript clean
expand:
./priv/jsx_expand.escript utf8 utf16 utf16le utf32 utf32le
./priv/backends.escript create
test: compile
./priv/jsx_test.escript test/cases
@ -26,9 +12,5 @@ prove:
prove ./priv/jsx_test.escript
clean:
./priv/jsx_clean.escript
install: clean compile
./priv/jsx_install.escript
force:
./rebar clean
./priv/backends.escript clean