diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-09-17 20:34:39 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-09-17 20:34:39 -0400 |
commit | d9638f88fb48371ceddc399ca3bfeee9ddaadcae (patch) | |
tree | 43b55356b6d9f7f54413e38533fa98f86742d2ad /src/rebar_prv_escriptize.erl | |
parent | df203da7f386d911d5da51556872fa380b41fe33 (diff) | |
parent | 7ad9f7ea75ab96aaecc4e420772ada151f2d4473 (diff) |
Merge pull request #786 from tsloughter/api_compile
add 'bare compile' provider, for starters for use by mix
Diffstat (limited to 'src/rebar_prv_escriptize.erl')
-rw-r--r-- | src/rebar_prv_escriptize.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_escriptize.erl b/src/rebar_prv_escriptize.erl index 3cdc9bf..32f5508 100644 --- a/src/rebar_prv_escriptize.erl +++ b/src/rebar_prv_escriptize.erl @@ -107,7 +107,7 @@ escriptize(State0, App) -> ExtraFiles = usort(InclBeams ++ InclExtra), Files = get_nonempty(EbinFiles ++ ExtraFiles), - DefaultEmuArgs = ?FMT("%%! -escript main ~s -pa ~s/~s/ebin\n", + DefaultEmuArgs = ?FMT("%%! -escript main ~s -pz ~s/~s/ebin\n", [AppNameStr, AppNameStr, AppNameStr]), EscriptSections = [ {shebang, |