Commit graph

1501 commits

Author SHA1 Message Date
Bryan Fink
abd535d081 rework elrydtl_compiler to do dependency checking correctly in refactored rebar 2010-01-04 11:24:28 -05:00
Dave Smith
21f60bff74 Take 323 on cleaning package dirs from ebin 2010-01-04 06:17:35 -07:00
Dave Smith
51f6906da9 Make sure to create dir structure for output bams 2010-01-04 05:47:45 -07:00
Dave Smith
42647f4c22 Tweak regex to properly match extension and not just .erl anywhere in filename 2010-01-04 05:40:39 -07:00
Dave Smith
fa2a58261a Another round of refactoring to yield better flexiblity in the base_compiler system 2010-01-03 22:53:04 -07:00
Dave Smith
9c15d63191 Refactor of compilation logic to enable support for package modules and provide better modularity/reusability for other systems 2010-01-02 14:17:59 -07:00
Dave Smith
18e1b37e6f Break out command line argument parsing to a dedicated routine 2010-01-01 06:22:25 -07:00
Dave Smith
48c2c169ab Merging w/ bitbucket 2009-12-31 19:31:00 -07:00
Dave Smith
9f83329a3c Adding basic distclean functionality to deps 2009-12-31 19:29:48 -07:00
Dave Smith
02fa5f6f42 Make sure to reset CWD after processing subdirs; also filter out missing dirs when restoring code path 2009-12-31 19:29:33 -07:00
Dave Smith
a46be8cec1 Use new rebar_config API to avoid having to actually delete/change the config any 2009-12-31 19:28:53 -07:00
Dave Smith
bd090f0db2 Refactor of rebar_config to facilitate identification of "local" config settings 2009-12-31 19:28:20 -07:00
Tuncer Ayaz
0817dec7ca Rolled back getopt to restore custom variables 2010-01-01 00:08:00 +01:00
Tuncer Ayaz
48048c82a6 Added HACKING, LICENSE and THANKS files 2009-12-31 20:31:22 +01:00
Tuncer Ayaz
9a8015f2d7 Added vi modeline/emacs local variables to file headers 2009-12-31 19:42:53 +01:00
Tuncer Ayaz
940f9c232b Enhanced option parsing with new getopt and made rebar more user friendly 2009-12-31 18:00:02 +01:00
Tuncer Ayaz
8c85021c1e Deleted trailing whitespace 2009-12-30 13:13:39 +01:00
Dave Smith
5cd5870f32 Got basic retrieval of deps from hg sorta working; minor refactoring of rebar_utils:sh interface 2009-12-30 20:03:27 -07:00
Dave Smith
1fe4d13e25 First basic pass at deps 2009-12-29 22:05:32 -07:00
Tuncer Ayaz
b1b29e0858 Implemented getopt option support 2009-12-29 20:09:28 +01:00
Dave Smith
fe03778678 Silence warnings, courtesy of Tuncer Ayaz 2009-12-28 07:24:15 -07:00
Dave Smith
d51479c37e Adding ?ABORT macro 2009-12-28 06:51:03 -07:00
Dave Smith
c99e6da250 Adding placeholder for dep mgmt 2009-12-25 23:19:47 -07:00
Dave Smith
2f64f0e6b2 Refactoring core logic in preparation for dependency mgmt; breaking out sub_dir determination into dedicated module 2009-12-25 23:19:09 -07:00
Bryan Fink
ef67a3da3e add emacs ~ files and HG .orig files to the ignore list 2009-12-23 09:13:39 -05:00
Dave Smith
facc6723b5 Tweak ignore file 2009-12-23 07:06:47 -07:00
Bryan Fink
299f45623f rebar can now compile ErlyDTL files (if erlydtl is installed)
defaults to compiling from templates/*.dtl to ebin/*_dtl.beam
see top of rebar_erlydtl_compiler for configuration options
2009-12-22 09:57:42 -05:00
Dave Smith
b14eaa0dc6 Adding rudimentary escript generator 2009-12-22 06:45:01 -07:00
Bryan Fink
badcc228bd add hrl-triggered recompiling to 'eunit' build as well 2009-12-21 12:48:36 -05:00
Bryan Fink
1fa659b5b3 recompile files if their "includes" have changed
added parameter to do_compile for passing a function that can extra the list of includes from a file
2009-12-21 12:15:21 -05:00
Dave Smith
a0b665360a Adding some addt'l logging to make it easier to diagnose probs 2009-12-20 20:43:45 -07:00
Dave Smith
d051534b97 Minor formatting fix 2009-12-20 06:20:05 -07:00
Tim Dysinger
5fe24a8c97 Added optional LFE compilation abilities to rebar 2009-12-18 19:00:15 -10:00
Dave Smith
739f24d8f5 Bumping to 2 2009-12-18 15:12:35 -07:00
Dave Smith
e8058e7462 Added tag RELEASE-1 for changeset e8747041ef63 2009-12-18 15:11:54 -07:00
Dave Smith
2f1d415a70 Revert change to linking order arguments 2009-12-18 15:08:36 -07:00
Dave Smith
f02c48a909 Adding simple checks for necessary version of ERTS + Reltool 2009-12-17 07:26:54 -07:00
Dave Smith
ee0c6ad086 Reorder arguments to CC for linking and fix needs_link to function properly 2009-12-16 10:27:14 -05:00
Dave Smith
4d3c7e60d6 Make sure to append overlay files to end of spec; otherwise might be overwritten by canonical install 2009-12-16 10:26:50 -05:00
Dave Smith
c3f0f2565b Adding support for overlays 2009-12-14 19:30:51 -05:00
Dave Smith
be754bb6ef Make sure to fail if run_modules generates ANY error. Thanks, Rusty. :) 2009-12-14 17:11:25 -05:00
Dave Smith
537eaa3bba Run eunit in .eunit dir to ensure any created/temporary files are created there 2009-12-14 09:59:00 -05:00
Dave Smith
e86f82f10d Fixing warning 2009-12-14 09:29:24 -05:00
Dave Smith
7cf35a88ba Enable fail_on_warning by default 2009-12-14 09:27:58 -05:00
Dave Smith
417ff3ad76 Adding fail_on_warning support 2009-12-14 09:27:47 -05:00
Dave Smith
d6600ab506 Fixing number of warnings and buglets 2009-12-14 08:58:22 -05:00
Dave Smith
2b7971cc6b Merging from bitbucket 2009-12-12 07:45:24 -07:00
Dave Smith
5618198eeb Merging mainline 2009-12-12 07:43:12 -07:00
Dave Smith
3990f0a076 Refactor of core logic to provide better control over recursion and code path mgmt 2009-12-12 07:34:29 -07:00
Dave Smith
3685c4fd4e Adding rudimentary support for creating empty dirs in reltool target 2009-12-11 07:20:59 -07:00