add build

This commit is contained in:
Aleksey Chichenkov 2019-01-29 12:13:09 +03:00
parent 62bf16fdcd
commit 1045d24072
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,10 @@ gcc -o ./lemon-src/lemon-js -O2 ./lemon-src/lemon-js.c
npm install
```
or
```bash
./build.sh
```
## Start
You need create your config.js from config.template

7
build.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
gcc -o ./lemon-src/lemon-js -O2 ./lemon-src/lemon-js.c
npm install
cat config.template > config.js