BayesianLogic / blog

The BLOG programming language
http://bayesianlogic.github.io/
BSD 4-Clause "Original" or "Old" License
98 stars 31 forks source link

change to use sbt to build #239

Closed lileicc closed 10 years ago

lileicc commented 10 years ago

Using sbt to build

@cberzan You will need sbt version 0.13.5 (latest)

lileicc commented 10 years ago

Try sbt/sbt compile Sbt/sbt html Sbt/sbt stage Sbt/sbt lexer Sbt/sbt parser P.s. Do not push the generated parser files. Need to update docs.

lileicc commented 10 years ago

@cberzan everything should work now try sbt/sbt universal:package-bin

The scripts should also work after sbt/sbt stage

lileicc commented 10 years ago

sbt/sbt debian:package-bin also works. I can install the generated .deb in my linux

cberzan commented 10 years ago

@lileicc This looks great! I verified that all the commands above work. Fixed test paths and verified that all JUnit tests run from eclipse. (Is there a way to run them using sbt?)

The only test currently broken is test.blog.parse.TestIf, testSimpleDecl (uses old syntax for implicit set). I'll fix this now.

cberzan commented 10 years ago

TestIf fixed (was easier than I thought). Now all junit tests pass. There are some errors on stdout, which suggests that the tests don't correctly report all failures, but that is out of scope for this PR.

lileicc commented 10 years ago

merge now.