Commit graph

1227 commits

Author SHA1 Message Date
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
Dave Smith
9e618f79c5 Merge 2009-12-10 12:16:47 -07:00
Dave Smith
849078026e Add ability to forcibly overwrite existing release 2009-12-10 12:16:15 -07:00
Dave Smith
588337e78b Add support for coverage generation 2009-12-09 22:00:28 -07:00
Dave Smith
d894dc5448 Make sure crypto is running as lots of things use it 2009-12-09 21:59:58 -07:00
Dave Smith
b088139ed0 Remove unnecessary debug in _core; adding EQC flag for eunit builds 2009-12-08 15:52:53 -07:00
Dave Smith
ffa0cda467 Updating bootstrap to embed the build time into a macro that we can pull via "version" command 2009-12-07 16:03:56 -07:00
Dave Smith
95d52f860d Refactoring eunit to support in-module tests 2009-12-07 15:17:24 -07:00
Dave Smith
cb1899b818 Adding convenience method for determing verbosity of run 2009-12-07 15:17:03 -07:00
Dave Smith
b5eded43d8 Merging 2009-12-07 10:08:20 -07:00
Dave Smith
af5096b6f0 Make sure to bail w/ return code of 1 when error has occurred 2009-12-07 10:07:01 -07:00
Jon Meredith
726f8e6946 Added support for eunit tests as test/*_tests.erl 2009-12-05 15:18:09 -07:00
Dave Smith
e7277e69f0 Adding rebar.erl -- not sure how that got missed, yet worked!? 2009-12-04 15:42:12 -07:00
Dave Smith
01684ff0fa Add a nice message 2009-12-04 13:54:44 -07:00
Dave Smith
b491898690 Refactor rebar to build a self-contained script 2009-12-04 13:48:57 -07:00
Jon Meredith
63d4968e36 Added check for suite compilation failures to rebar_ct. 2009-12-04 07:58:21 -07:00
Jon Meredith
048179ab83 Changed the rebar command to exit non-zero on error. 2009-12-04 07:56:08 -07:00
Jon Meredith
a0d48d89ae Added rebar_ct to support common_test targets test, int_test and perf_test. 2009-12-03 22:49:52 -07:00
jmeredith@jons-macbook.local
bed9ab10aa Added now_str to return the local time as a string. 2009-12-03 22:46:37 -07:00
Dave Smith
89dc8095b0 Ongoing reltool integration work; now better able to identify issues with missing apps in code path 2009-12-03 16:06:06 -07:00
Dave Smith
33e53942d3 Deal more gracefully with errors 2009-12-03 16:05:25 -07:00
Dave Smith
a979f4f575 If failure is controlled (i.e. via ?FAIL macro), don't print out that it failed (expectation is that the caller already did that) 2009-12-03 09:41:10 -07:00
Dave Smith
65a3ff0111 Fix up some errors found by rebar now that we use it for compilation 2009-12-02 12:13:30 -07:00
Dave Smith
849cdc5ef0 Use existing rebar for compile, if it's available 2009-12-02 12:13:05 -07:00
Dave Smith
4f980767f8 Fix up installation problems that occurred when priv/include dirs don't exist (they are optional) 2009-12-02 12:12:53 -07:00