1
0
Fork 0
mirror of https://github.com/correl/rebar.git synced 2024-12-21 03:00:13 +00:00
Commit graph

38 commits

Author SHA1 Message Date
Tuncer Ayaz
eba2f097bf Fix formatting (thanks Piotr Usewicz) 2011-04-15 17:22:55 +02:00
Piotr Usewicz
df4e836c4e Add file local variables where appropriate 2011-04-15 17:22:49 +02:00
joewilliams
11bf6b4aab Add 'generate-appups' command
To further support OTP releases I have added support for generating
application appup files. These include instructions that systools uses
to generate a relup file which contains the low level instructions
needed to perform a hot code upgrade. My goal with this module is to
produce "good enough" appup files or at least a skeleton to help one get
started with something more complex. If an appup file already exists for
an application this command will not attempt to create a new one.

Usage:
$ rebar generate-appups previous_release=/path/to/old/version

Generally this command will be run just before 'generate-upgrade'.
2011-02-15 18:33:18 +01:00
joewilliams
5298e93a18 Add 'generate-upgrade' command
To support OTP release upgrades I have added support for building
upgrade packages. Support for this is included in the
rebar_upgrade module, specifically generate_upgrade/2. It requires
one variable to be set on the command line 'previous_release' which
is the absolute path or relative path from 'rel/' to the previous
release one is upgrading from. Running an upgrade will create the
needed files, including a relup and result in a tarball containing
the upgrade being written to 'rel/'. When done it cleans up the
temporary files systools created.

Usage:
$ rebar generate-upgrade previous_release=/path/to/old/version

This also includes a dummy application that can be used to test
upgrades as well as an example.

Special thanks to Daniel Reverri, Jesper Louis Andersen and
Richard Jones for comments and patches.
2011-01-27 18:37:39 +01:00
Anthony Ramine
008dcb8542 Add abnfc support
abnfc is an ABNF parser generator.
Options are:
	- doc_root (defaults to "src")
	- out_dir (defaults to "src")
	- source_ext (defaults to ".abnf")
	- module_ext (defaults to "")
2010-12-22 17:57:21 +01:00
Tuncer Ayaz
448e1ea20b Put rebar_pre_script in correct app_dir module position
Erroneously put rebar_pre_script at the end of the app_dir modules
list in the previous commit.
2010-07-24 05:13:16 +02:00
Tuncer Ayaz
34647928b2 Add rebar_pre_script courtesy of Geoff Cant 2010-07-24 01:53:17 +02:00
Cliff Moon
55c1e44ba5 Added a compiler plugin for neotoma grammars 2010-05-03 22:59:43 -07:00
Dave Smith
deaabbe9a7 Adding support for compile/clean post scripts, per suggestion from Kevin Smith 2010-06-14 05:59:14 -06:00
Dave Smith
e66585789d Process deps prior to subdirs so that top-level dependencies work as expected 2010-06-09 14:06:48 -06:00
Dave Smith
91fe9d14a4 Add edoc module to .app file 2010-06-08 07:56:41 -06:00
Dave Smith
902e00fb93 Add support for requiring a specific ERTS or OTP version via a regex 2010-05-03 19:47:07 -06:00
Dave Smith
fcf4507a80 Add stub for xref support; not yet done 2010-04-09 09:25:00 -06:00
Tuncer Ayaz
5f98b6b65a Add ASN.1 support (via Ruslan Babayev)
Add support for compiling ASN.1 files with asn1ct.
Patch from Ruslan Babayev.
2010-03-22 18:31:01 +01:00
Dave Smith
872076be3f Adding cleaner module to permit users to specify their own set of files to delete 2010-02-21 05:39:12 -07:00
Dave Smith
2d9af6cf48 Sketching out templating system 2010-01-07 22:18:55 -07:00
iw
39907904e8 Include support for dialyzer 2010-01-07 15:10:20 +00:00
Tuncer Ayaz
fb0cee2afb Implemented option to specify number of concurrent workers a command may use 2010-01-06 17:31:14 +01: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
Tuncer Ayaz
b1b29e0858 Implemented getopt option support 2009-12-29 20:09:28 +01: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
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
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
3990f0a076 Refactor of core logic to provide better control over recursion and code path mgmt 2009-12-12 07:34:29 -07:00
Jon Meredith
726f8e6946 Added support for eunit tests as test/*_tests.erl 2009-12-05 15:18:09 -07:00
Dave Smith
b491898690 Refactor rebar to build a self-contained script 2009-12-04 13:48:57 -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
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
a01e7dcd30 Adding first crack at reltool support 2009-12-02 05:15:35 -07:00
Dave Smith
667dd16bf9 Merging 2009-11-30 16:07:51 -07:00
Dave Smith
c7c1001012 Slowly working out port driver implementation 2009-11-30 16:03:45 -07:00
Jon Meredith
c5d877a934 Renamed app_installer to otp_app.
Added compile check for app name.
Added compile check for app modules

--HG--
rename : src/rebar_app_installer.erl => src/rebar_otp_app.erl
2009-11-30 11:12:25 -07:00
Dave Smith
961c95b419 Add protobuffs compiler module 2009-11-30 09:57:28 -07:00
Dave Smith
28fe3bfd54 More gross structural work; now has log levels and broken out log level control 2009-11-29 16:44:30 -07:00
Dave Smith
fd8794dae7 Renaming compiler module
--HG--
rename : src/rebar_doterl_compiler.erl => src/rebar_erlc_compiler.erl
2009-11-25 21:00:22 -07:00
Dave Smith
b7e2088c27 Initial commit 2009-11-25 15:23:42 -07:00