Commit graph

1566 commits

Author SHA1 Message Date
Dave Smith
1f6d861aba Overhaul env expansion so that rebar fully expands env refs prior to invoking the shell script. Also now using DRV_* env vars for compilation/linking of files found in c_src; this frees up "normal" CFLAGS/LDFLAGS for usage in sub build scripts. 2010-02-16 07:05:29 -07:00
Dave Smith
51133313a6 Updating template defs to use "template" in lieu of "file" directive 2010-02-14 09:25:53 -07:00
Dave Smith
7bfa2405db Merging w/ http://bitbucket.org/bryan/rebar 2010-02-14 09:24:47 -07:00
Bryan Fink
f6feac493d provide separate 'file' and 'template' directives, instead of one 'file' directive with a boolean Render flag 2010-02-13 14:14:29 -05:00
Dave Smith
0f7b47ce7b Merging w/ mainline 2010-02-13 10:18:18 -07:00
Dave Smith
d486dff6e8 Merging with OJ's branch 2010-02-13 10:17:44 -07:00
Dave Smith
96c1ceba60 Break out arch string function; update ERLANG_TARGET to include bitness of the Erlang target 2010-02-12 15:05:32 -07:00
Dave Smith
a0732e9e78 Make sure to cover all edge cases when parsing module names 2010-02-12 11:57:50 -07:00
Dave Smith
1def586e39 Merging w/ mainline 2010-02-12 11:33:32 -07:00
Tuncer Ayaz
fa4b2ee701 Add emacs and vim file local variables 2010-02-11 00:16:34 +01:00
Dave Smith
22d21f63d0 Append wordsize to the architecture string 2010-02-10 14:05:52 -07:00
Ryan Tilder
f502bb09dd I'm a moron. Make it a string. 2010-02-10 11:23:53 -08:00
Dave Smith
268405d0dc Adding new vars for scripts to determine architecture (32/64 bit) and target platform of Erlang VM; courtesy of rtilder 2010-02-10 11:15:55 -07:00
Dave Smith
b787f195b8 Add vim line; courtesy of rtilder 2010-02-10 11:08:56 -07:00
theiw
788bd3df72 Provide package support for eunit; build_plt now includes listed applications; begin including -spec annotations 2010-02-05 17:34:38 +00:00
Dave Smith
30a3816c86 Use init:stop/1 over halt/1 to ensure all I/O gets a chance to flush 2010-02-05 13:16:21 -07:00
Bryan Fink
60629e8516 add chmod template directive for changing file file permission
usage: {chmod, Mode, File}
where: Mode is an integer, as specified by the 'mode' field of the file_info record
       (see docs for file:write_file_info/2)
2010-02-04 17:45:05 -05:00
Bryan Fink
4c2dade0f4 add Render flag to 'file' template directive
{file,In,Out,true} = render with mustache
{file,In,Out,false} = do not render with mustache (leave as-is)

old-form {file,In,Out} is equivalent to {file,In,Out,true}
2010-02-04 15:52:44 -05:00
Bryan Fink
4e01b32d5d look for templates in local directory as well 2010-02-04 14:30:10 -05:00
OJ Reeves
71c974e341 Added support for the speficiation of test suite names
eg.  rebar eunit              -- runs all tests in all modules
     rebar eunit suite=foo    -- only runs tests in foo.erl/foo_tests.erl

Added an entry to .hgignore to avoid .swp files (created by VIM).
2010-02-03 22:27:09 +10:00
OJ Reeves
6c359a08cd Added 3 new templates:
- simplefsm - Basic shell of a gen_fsm module
 - simplesrv - Basic shell of a gen_server module
 - simplemod - Basic shell of a module along with an associated test module.
2010-02-03 21:56:30 +10:00
Tuncer Ayaz
2734f2bcc2 Do not print dynamic escript name in usage info 2010-02-02 12:56:16 +01:00
Dave Smith
bd510dea20 Tweaking order of defaults so that -shared is default across platforms unless explicitly overridden 2010-02-01 10:56:47 -07:00
Dave Smith
f333bc2a92 Removing useless debug message and extraneous newline 2010-02-01 09:29:13 -07:00
Dave Smith
b9e78d6722 Add support for passing addt'l list of sources to erlc_compiler 2010-02-01 08:37:52 -07:00
Dave Smith
47e70f308a Add support for forcibly overwriting output files; courtesy of OJ Reeves 2010-01-30 09:56:06 -07:00
Dave Smith
12420ee43c Fix typo; courtesy of OJ Reeves 2010-01-30 09:48:28 -07:00
Dave Smith
7bcbe026d4 Merging support from asonge for custom_tags_dir 2010-01-29 22:02:47 -07:00
Dave Smith
7cf7481a68 Fixing issue #3; make sure to properly escape simplenode related files. Patch provided by cstar..thanks! 2010-01-26 15:11:22 -07:00
Dave Smith
1582f2e243 Tweak support for controlling so_name 2010-01-26 13:50:17 -07:00
Alex Songe
73ee6e442b Added support for custom_tags_dir compile option to rebar_erlydtl_compiler 2010-01-16 13:58:34 -06:00
Tuncer Ayaz
d32bd6d4a1 Added appid= to bash-completion 2010-01-16 18:52:25 +01:00
Dave Smith
96e9a2a521 Look for dirs named erts-vsn when setting up spec for copying files 2010-01-14 07:46:00 -05:00
Dave Smith
66fa90ce6c Try previous commit again; make sure include/ directory exists 2010-01-14 07:08:12 -05:00
Dave Smith
dce1673fdb Make sure include/ directory exists 2010-01-14 07:02:14 -05:00
Dave Smith
abeac053e0 Merge mainline 2010-01-10 06:48:08 -07:00
Tuncer Ayaz
ba306ec183 Simplified bash-completion script 2010-01-10 10:38:05 +01:00
Tuncer Ayaz
59bfc5044f Fixed trailing space issue for options ending with an equal sign 2010-01-09 18:24:08 +01:00
Tuncer Ayaz
2e5b035c3e Added OJ Reeves to THANKS file 2010-01-09 14:52:55 +01:00
Tuncer Ayaz
51b3feabc4 Added check_plt to bash-completion 2010-01-09 14:50:29 +01:00
Dave Smith
c6a0d44afa Fixing some typos in simpleapp template 2010-01-09 06:23:35 -07:00
Tuncer Ayaz
e60a6acc41 Removed redundant create-app 2010-01-09 13:35:09 +01:00
Dave Smith
407486bc62 Merging mainline 2010-01-09 05:35:04 -07:00
Tuncer Ayaz
1e6d92a3a6 Fixed bash-completion to use --jobs without equal sign and removed comment 2010-01-09 13:31:31 +01:00
OJ Reeves
49aef70f9b [mq]: eunit-fix 2010-01-09 22:19:55 +10:00
Tuncer Ayaz
2ae3fd9aae Added jobs= to bash-completion 2010-01-09 00:43:22 +01:00
Tuncer Ayaz
e9ddd08e2a Simplified usage info printing with getopt v0.2 2010-01-09 00:36:29 +01:00
Tuncer Ayaz
81fd519100 Added first version of a bash-completion script 2010-01-08 23:47:41 +01:00
Tuncer Ayaz
4ac1f3efe9 Fixed issue 1 "priv/mibs/ is not automatically created" 2010-01-08 23:06:29 +01:00
Dave Smith
ec4e805898 Adding sketch of functionality for creating a reltool node from template 2010-01-08 12:16:57 -07:00