NHDaly / ApplicationBuilder.jl

[deprecated] Compile, bundle, and release julia software
MIT License
168 stars 15 forks source link

Make cd_to_bundle_resources() callable from Julia (again): switch to external `ApplicationBuilderAppUtils` package #55

Closed ghost closed 5 years ago

ghost commented 5 years ago

Allow the applications to decide whether to cd to resources directory or not. For most command-line applications this is actually not a reasonable default behavior.

Also adds a get_bundle_resources_dir() so that apps that don't change dirs can still access their bundle resources.

Moved those utilities into a new package, which I split out into https://github.com/NHDaly/ApplicationBuilderAppUtils.jl. Added that package as a dependency of this one, but users will need to Pkg.add("https://github.com/NHDaly/ApplicationBuilderAppUtils.jl") if they want to build their project after this PR.