Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
"default_script" : "/zip/bin/hello"
I've tried adding it to the other two "logical" places in apperl-project.json and also in .apperl/o/user-project.json, without getting any errors, but it still does not work. By "work" I expect that after adding "default_script" and running "apperlm build" again that running the newly built ./perl.com would run that script, without having to type "./perl.com /zip/bin/hello" and that it will work if even the perl.com is renamed.{ "apperl_configs" : { "my_nobuild_config" : { "desc" : "description of this config", "base" : "nobuild-v0.1.0", "dest" : "perl.com", "zip_extra_files" : { "bin" : ["src/hello"] }, "default_script" : "/zip/bin/hello" } }, "defaultconfig" : "my_nobuild_config" }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: APPerl tutorial problem: default_script
by Corion (Patriarch) on Feb 22, 2023 at 06:42 UTC | |
by Anonymous Monk on Feb 23, 2023 at 02:23 UTC | |
Re: APPerl tutorial problem: default_script
by Anonymous Monk on Feb 24, 2023 at 17:19 UTC |