Automated script to transpile code and tests to C

This commit is contained in:
Alex Kotliarskyi
2014-09-26 16:22:44 -07:00
parent 6653d955c0
commit a047e4d5fe
8 changed files with 133 additions and 3386 deletions

View File

@@ -1,6 +1,11 @@
FILES=src/__tests__/Layout-test.c src/Layout.c src/Layout-test-utils.c
all: c test
c:
@node ./src/transpile.js
test:
@gcc -Weverything -Werror -Wno-padded $(FILES) && ./a.out
@rm a.out