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.
14 years ago
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 "")
14 years ago
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.
14 years ago
Tuncer Ayaz
34647928b2
Add rebar_pre_script courtesy of Geoff Cant
14 years ago
Cliff Moon
55c1e44ba5
Added a compiler plugin for neotoma grammars
15 years ago
Dave Smith
deaabbe9a7
Adding support for compile/clean post scripts, per suggestion from Kevin Smith
15 years ago
Dave Smith
e66585789d
Process deps prior to subdirs so that top-level dependencies work as expected
15 years ago
Dave Smith
91fe9d14a4
Add edoc module to .app file
15 years ago
Dave Smith
902e00fb93
Add support for requiring a specific ERTS or OTP version via a regex
15 years ago
Dave Smith
fcf4507a80
Add stub for xref support; not yet done
15 years ago
Tuncer Ayaz
5f98b6b65a
Add ASN.1 support (via Ruslan Babayev)
Add support for compiling ASN.1 files with asn1ct.
Patch from Ruslan Babayev.
15 years ago
Dave Smith
872076be3f
Adding cleaner module to permit users to specify their own set of files to delete
15 years ago
Dave Smith
2d9af6cf48
Sketching out templating system
15 years ago
iw
39907904e8
Include support for dialyzer
15 years ago
Tuncer Ayaz
fb0cee2afb
Implemented option to specify number of concurrent workers a command may use
15 years ago
Dave Smith
9c15d63191
Refactor of compilation logic to enable support for package modules and provide better modularity/reusability for other systems
15 years ago
Tuncer Ayaz
b1b29e0858
Implemented getopt option support
15 years ago
Dave Smith
2f64f0e6b2
Refactoring core logic in preparation for dependency mgmt; breaking out sub_dir determination into dedicated module
15 years ago
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
15 years ago
Dave Smith
b14eaa0dc6
Adding rudimentary escript generator
15 years ago
Tim Dysinger
5fe24a8c97
Added optional LFE compilation abilities to rebar
15 years ago
Dave Smith
739f24d8f5
Bumping to 2
15 years ago
Dave Smith
3990f0a076
Refactor of core logic to provide better control over recursion and code path mgmt
15 years ago
Jon Meredith
726f8e6946
Added support for eunit tests as test/*_tests.erl
15 years ago
Dave Smith
b491898690
Refactor rebar to build a self-contained script
15 years ago
Jon Meredith
a0d48d89ae
Added rebar_ct to support common_test targets test, int_test and perf_test.
15 years ago
Dave Smith
65a3ff0111
Fix up some errors found by rebar now that we use it for compilation
15 years ago
Dave Smith
a01e7dcd30
Adding first crack at reltool support
15 years ago
Dave Smith
c7c1001012
Slowly working out port driver implementation
15 years ago
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
15 years ago
Dave Smith
961c95b419
Add protobuffs compiler module
15 years ago
Dave Smith
28fe3bfd54
More gross structural work; now has log levels and broken out log level control
15 years ago
Dave Smith
fd8794dae7
Renaming compiler module
--HG--
rename : src/rebar_doterl_compiler.erl => src/rebar_erlc_compiler.erl
15 years ago
Dave Smith
b7e2088c27
Initial commit
15 years ago