forked from chairemobilite/transition
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
json2capnp: Make the cache path argument mandatory
Now that the project shortname is not an environment variable anymore and that the project directory can be anywhere and not only in a projects/<projectShortname> directory, it is not possible de know this path from the .env file data. The absolute path must be set on the command as second argument For example, to run json2capnp for the example app, where the cache is in `examples/runtime/demo_transition` directory, the service can be run as `yarn start:json2capnp -- 2000 $PWD/examples/runtime/cache/demo_transition`, or `cd services/json2capnp && cargo run -- 2000 ../../examples/runtime/cache/demo_transition`. The dotenv and home packages are not required anymore.
- Loading branch information
Showing
3 changed files
with
3 additions
and
30 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters