jazzdotdev / jazz

The Scripting Engine that Combines Speed, Safety, and Simplicity
Apache License 2.0
146 stars 11 forks source link

apps using torchbear interpreter should read torchbear.scl config file from "app-dir" #196

Open naturallymitchell opened 5 years ago

dariusc93 commented 5 years ago

Could you provide clarification?

naturallymitchell commented 5 years ago

if you're working on gut, for example, and you run mp inside the dir, then torchbear will look for a torchbear.scl file in gut/. that behavior was meant for it to work in the machu-picchu/ directory though, so this is an unexpected behavior.

naturallymitchell commented 5 years ago

that commit broke mp, because it needs to run in current_dir

naturallymitchell commented 5 years ago

fixed in https://github.com/foundpatterns/torchbear/commit/7b80aee83e2f0fb7098c7967c5fd012c5181d833#diff-b4aea3e418ccdb71239b96952d9cddb6 and https://github.com/foundpatterns/torchbear/commit/9b5d825abe4c6db59a0dd9400b74ebc5df2d629f#diff-b4aea3e418ccdb71239b96952d9cddb6 afair