Commit graph

16 commits

Author SHA1 Message Date
Eric B Merritt
417a4c3229 minor enhancements and cleanup to the makefile 2013-04-24 09:55:01 -07:00
Eric B Merritt
7e2c37e2f5 fix bug in rebuild introduced by new makefile changes 2013-04-24 09:54:59 -07:00
Seth Falcon
d9c6ec1d28 Make proper and neotoma dev-only dependencies
This patch makes erlware_commons easier to include as a dependency by
removing depedencies that are not needed at run time.

The top-level Makefile creates a .DEV_MODE marker file which is
detected by rebar.config.script. When the marker file is present, the
development only dependencies proper and neotoma are included and a
macro 'DEV_ONLY' is defined. The macro is used to only enable the
proper tests for development mode.

The ec_semver_parser.peg is now located in priv/ and is moved into
src/ by the Makefile. The generated ec_semver_parser.erl is now under
version control; it need not be rebuilt by all projects wishing to
include erlware_commons. It will be rebuilt, as before this change, on
every make invocation.
2013-04-22 14:48:08 -07:00
Seth Falcon
38cd7a4d62 Use deps directory to trigger get-deps
A `make distclean` now removes the deps directory and all of its
contents. The default target now looks for the presence of the deps
directory to determine if `rebar get-deps compile` should be run. The
main benefit being that one can now do: `make distclean && make`
without a call to `make get-deps`. The get-deps target is left in
place for convenince and back compat.

The get-deps target was updated slightly to run get-deps and compile
as part of a single command. This should be slightly more efficient.
2013-04-22 12:58:47 -07:00
Seth Falcon
38141c5c24 Fix typo in typer target in Makefile
The typer target now works.
2013-04-22 12:44:59 -07:00
Ben Kearns
97d39ec8db Added support for ISO8601 Zulu and TZ time zone support. Remove hard coded version string in rebar.config.script for unit test pass. Remove dializer and edoc from default target to enable tests to run on Travis-ci
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2013-02-26 17:58:08 -05:00
Eric Merritt
95f723e1e0 make erlware_commons work on pre-R15 releases
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2012-12-07 05:53:21 -07:00
Eric Merritt
dda4c85586 reorder default tasks so dialyzer is run after compile
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2012-10-30 11:45:21 -06:00
Eric Merritt
1a1b87bf53 add a clean and rebuild task to makefile
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2012-10-30 11:45:21 -06:00
Eric Merritt
b5371974d1 add fullpath to the makefile
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2012-10-30 11:45:21 -06:00
Eric Merritt
0c34549901 make sure the docs get run as part of a bare make
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2012-09-18 20:06:47 -06:00
Eric Merritt
67acaaaf3f minor fixes and enhancements to the makefile
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2012-09-08 09:59:30 -05:00
Eric Merritt
e035ae3dbf fixes to dialyzer
All types should now be correct and dialyzer runs successfully

Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2012-09-08 09:59:21 -05:00
Eric Merritt
51b5a41c63 add a full makefile that drives rebar
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2012-09-08 09:51:32 -05:00
Eric Merritt
c828f7415a Migrate erlware_commons to rebar support 2012-06-05 17:59:46 -05:00
Eric Merritt
144bc031ed Add a minimal makefile to the system
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
2012-02-20 15:15:36 -05:00