Tuncer Ayaz
4b8c81fb53
Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msg
* allow plugins to print help message for implemented commands
* append core rebar.config options to common 'rebar help' message
12 jaren geleden
Dave Smith
8ff99f98b3
noshell/noinput should NOT be the default emulator args for an escript
12 jaren geleden
Tuncer Ayaz
fc7df16e31
Clarify comments
13 jaren geleden
Tuncer Ayaz
563607bc02
Change escript zip archive creation as suggested by Siri Hansen
1. manually insert directory entries to work around issues fixed in
R15B02 erl_prim_loader
2. put the escript archive's beams in appname/appname/ebin
Tested with R13B03 and R15B01.
13 jaren geleden
Tuncer Ayaz
636c02f0be
Fix R13B03 build (Reported-by: Sergey Nartimov)
13 jaren geleden
Tuncer Ayaz
64972a0be5
Fix trivial comment typo
13 jaren geleden
Tuncer Ayaz
e185e86bff
Remove shared state
13 jaren geleden
Fred Hebert
57fc7f6474
Change escriptize archive permissions to a+x
By default, executables in paths such as /bin and /usr/local/bin have
the mode saying they can be executed by all.
The current version of escriptize only sets u+x, which creates problems
when copied directly in repositories and requiring other programs to
interact with them.
This change makes rebar follow the standard of linuxes and unixes by
setting the permission flag to a+x, allowing users, the group and others
to execute it.
13 jaren geleden
Tuncer Ayaz
c91250d2df
Use [{File,Bin}, ...] in escriptize zip:create
13 jaren geleden
Tuncer Ayaz
83879c22e1
Add missing escriptize comments
13 jaren geleden
Tuncer Ayaz
d7037165fd
Remove debug log
13 jaren geleden
Tuncer Ayaz
e65455b6ef
Simplify temp dir creation
13 jaren geleden
Tuncer Ayaz
1e980859e2
Extend escriptize and reuse in bootstrap
13 jaren geleden
Tuncer Ayaz
8fb552b73f
Sync rebar_escripter with bootstrap escript
13 jaren geleden
Dave Smith
c86c99940d
Remove ?FAIL in favor of ?ABORT
13 jaren geleden
Mathias Meyer
2e64e91c0c
Add options for escript shebang, command, emu_args
Allows customizing the arguments handed over to the Erlang VM, e.g. to
set a name or a cookie, e.g. by setting escript_emu_args to:
%%! -name rebar -setcookie rebar
14 jaren geleden
Tuncer Ayaz
63de05d914
Clean up code
14 jaren geleden
Tuncer Ayaz
c466076ffb
Clean up emacs file local variables
14 jaren geleden
Juhani Rankimies
9441251f9f
Use file:change_mode/2 instead of invoking chmod
14 jaren geleden
Tuncer Ayaz
1690139be9
Match ok result of filelib:ensure_dir/1
14 jaren geleden
Dave Smith
67d4fbf337
Add support for overriding the default name/location of the escript; add support for cleaning generated script file
--HG--
extra : rebase_source : 466f440dcb
14 jaren geleden
Dave Smith
9813126176
Adding support for embedding other apps via escript_incl_apps
--HG--
extra : rebase_source : 9eccc596d8
15 jaren geleden
Dave Smith
c19b8ac003
Refactoring app file access to be via rebar_app_utils in prep for supporting .app.src
15 jaren geleden
Tuncer Ayaz
9a8015f2d7
Added vi modeline/emacs local variables to file headers
15 jaren geleden
Tuncer Ayaz
8c85021c1e
Deleted trailing whitespace
15 jaren geleden
Dave Smith
fe03778678
Silence warnings, courtesy of Tuncer Ayaz
15 jaren geleden
Dave Smith
b14eaa0dc6
Adding rudimentary escript generator
15 jaren geleden
Dave Smith
d6600ab506
Fixing number of warnings and buglets
15 jaren geleden
Dave Smith
b3909cc9dc
Adding delete_each/1
15 jaren geleden
Jon Meredith
8e91e1014e
Connected up symlinking the list of progs in rebar.config/app_bin
to the OTP bin dir.
15 jaren geleden
Dave Smith
be2a9096f6
More work
15 jaren geleden
Dave Smith
28fe3bfd54
More gross structural work; now has log levels and broken out log level control
15 jaren geleden
Dave Smith
b7e2088c27
Initial commit
15 jaren geleden