138 Commits

Author SHA1 Message Date
e667046da8 add Environment#clear_targets() 2013-12-27 13:35:16 -05:00
539a49fe90 do not allow construction variables as arguments to Environment#initialize() or Environment#clone() 2013-12-27 12:10:54 -05:00
7681c7584f add String#absolute_path? 2013-12-27 11:40:24 -05:00
8fcbd39057 v0.2.2 v0.2.2 2013-11-13 23:52:33 -05:00
d0bbc78751 Program: do not continue executing builder if building a source fails 2013-11-13 23:52:15 -05:00
7249e57951 add info to error message when expanding unknown variable types 2013-11-13 23:50:46 -05:00
d01913641f v0.2.1 v0.2.1 2013-11-11 11:36:10 -05:00
d5be569cd5 fix Environment#clone() to allow subclassing 2013-11-11 11:35:59 -05:00
4d7ed373e7 v0.2.0 v0.2.0 2013-11-08 15:45:35 -05:00
72558391a2 clarify documentation about cloning Environments 2013-11-08 15:45:24 -05:00
d01767981c add Environment#build_root to be used if no build directories match 2013-11-08 14:52:39 -05:00
01c847fa32 v0.1.0 v0.1.0 2013-11-06 13:38:59 -05:00
20f509ec27 rename *COM construction variables to *CMD 2013-11-06 13:35:41 -05:00
243eb9a4ab rename "tweakers" to "build hooks" 2013-11-06 13:32:56 -05:00
49be46199f define our own clean/clobber tasks 2013-11-06 13:29:24 -05:00
c9b670ae5c change default "echo" setting to :short 2013-11-06 13:22:30 -05:00
6bcb984e8e README: add gem version badge 2013-11-06 13:18:09 -05:00
b377940252 begin expanding README documentation 2013-11-06 12:45:50 -05:00
2e0c2688aa VarSet#expand_varref(): fix recursive expansion 2013-11-05 17:06:09 -05:00
66f53a23f6 change construction variable reference format to ${var}
this change is backwards-incompatible
2013-11-05 16:54:01 -05:00
545b893ef4 clean up a couple YARD warnings 2013-11-05 16:37:18 -05:00
30564af558 add build test for D 2013-11-05 16:29:15 -05:00
cc2c2733fc move build_tests_spec.rb back into spec, remove build_tests rake task 2013-11-05 16:22:09 -05:00
ddb5357b02 explicitly set LD construction variable in one build test 2013-11-05 16:19:02 -05:00
b805e5379f execute all build tests in the top-level rake context instead of spawning subprocesses 2013-11-05 16:11:08 -05:00
71344b4782 Program: do not check env.build_sources() return value (it will raise an exception if something was wrong) 2013-11-05 15:41:47 -05:00
b1cdd3d1db Object: simplify handling of known suffixes 2013-11-05 15:25:10 -05:00
ed11b05b97 add rscons_spec.rb 2013-11-05 14:37:26 -05:00
a418d31000 finish up Environment specs 2013-11-05 14:28:43 -05:00
797580e937 Environment: remove support for specifying :builders key in constructor 2013-11-05 14:18:02 -05:00
8b852bd2fd Environment: more specs 2013-11-05 14:14:03 -05:00
e863c9a564 Environment: rework process()
- improve efficiency
- give errors for the dependency that failed instead of the top-level target
2013-11-05 12:43:50 -05:00
7ce5a8f9d9 working on Environment specs 2013-11-05 12:26:42 -05:00
1280cfb465 change Environment#parse_makefile_deps() to a class method 2013-11-05 11:44:07 -05:00
0cd9dbd1bd add separate spec_helper.rb for build_tests directory 2013-11-05 11:36:30 -05:00
b38c56d446 move build_tests_spec.rb to build_tests directory; add build_tests task 2013-11-05 11:05:45 -05:00
d2b7c93f53 rename Rakefile -> Rakefile.rb 2013-11-05 10:52:56 -05:00
67922b887d remove Environment#targets() and Environment#target_sources() which didn't seem to be used 2013-11-05 10:42:01 -05:00
8100830c16 spec Cache 2013-11-05 10:25:36 -05:00
cb629bf7ec do not include spec files in simplecov report 2013-11-05 10:25:34 -05:00
65a5838605 Cache: set :version when writing to file 2013-11-05 09:22:46 -05:00
338a49ba9c v0.0.14 v0.0.14 2013-10-29 16:18:14 -04:00
c23bb8c5e0 add support for building D sources (defaulting to gdc) 2013-10-29 16:17:51 -04:00
31abeed3d5 v0.0.13 v0.0.13 2013-10-15 16:29:54 -04:00
446fef931f add "tweakers" functionality
tweakers allow the user to modify construction variables before any build is performed
2013-10-15 16:15:37 -04:00
4a2997feec VarSet: make a deep copy of values passed to VarSet#append() 2013-10-15 16:10:56 -04:00
013995bbc0 refactor into Environment#run_builder() 2013-10-15 13:36:25 -04:00
cd266c511e v0.0.12 v0.0.12 2013-10-08 11:54:38 -04:00
0f5fee359d cloning an Environment should make a deep copy of its construction variables 2013-10-08 11:54:24 -04:00
dc6bac2895 change build_dir build test to test build_dir specified as a Regexp 2013-10-04 21:40:11 -04:00