diff --git a/.gitignore b/.gitignore index 70380b2..78276a5 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,7 @@ /.idea/ /out/ -/binary/.cache/ \ No newline at end of file +/binary/.cache/ + +.scriptjava/ +libs/ \ No newline at end of file diff --git a/README.md b/README.md index d184cab..5bce43d 100644 --- a/README.md +++ b/README.md @@ -86,11 +86,21 @@ Before launching the executable make sure, that there is `javac` in the system P ## Building -The main project has no dependencies, so it's a straight-forward process. However, building from IDE (when project is created from the source code) -won't work, as current functionality requires the project's jar in the execution directory (due to build-in imports & IScript) +The main project has no dependencies, so it's a straight-forward process. Tests require `Gson` (for json testing) +build with ant : + +```bash +git clone https://github.com/noties/ScriptJava.git +cd ScriptJava +ant install +java -jar build/jar/ScriptJava.jar +``` + +enjoy it~ + ## License diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..c722dbb --- /dev/null +++ b/build.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file