BayesianLogic / blog

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

fixing scripts #279

Closed lileicc closed 10 years ago

lileicc commented 10 years ago

Fixed script @cberzan

cberzan commented 10 years ago

Works on linux; LGTM. There's also the question of why there's dblog and iblog in both / and /bin...

lileicc commented 10 years ago

The scripts on / is for development use (essentially using the scripts in target/universal/stage/bin). The target/universal/stage/bin/blog and blog.bat are automatically generated. Which will be in the published package.

cberzan commented 10 years ago

Could we use symlinks to avoid the duplication?

lileicc commented 10 years ago

That would be the best. Except that we need to check whether target/universal/ exists. If it doesnot exist, it will run sbt/sbt stage /target/universal is the generated directory, if you do sbt/sbt clean, it will be cleaned.