67 Commits

Author SHA1 Message Date
0d8f661fd4 add :clone option to Environment#clone to control exactly which Environment attributes are cloned 2014-02-19 15:02:46 -05:00
e5ca8776a9 allow nil to be passed in to Environment#build_root= 2014-02-19 15:02:18 -05:00
2dde39a0ec standardize on "Rscons" capitalization 2014-02-18 16:14:44 -05:00
98f8f38715 remove String#set_suffix monkey patch 2014-02-14 10:36:15 -05:00
2ffb5d525a remove String#absolute_path? monkey patch 2014-02-14 10:32:57 -05:00
fa7d17675b remove String#has_suffix? monkey-patch; use String#end_with? 2014-02-14 10:20:32 -05:00
5ff555cf6a add Environment#expand_varref() 2014-01-02 11:49:08 -05:00
5362f761e6 move default builder classes into Rscons::Builders namespace module 2013-12-31 13:31:17 -05:00
cdb3352b4e remove module monkey-patching; add Builder#name() 2013-12-31 13:10:00 -05:00
f8af0630b0 pass env to Cache#up_to_date?() and #register_build() instead of user_deps 2013-12-31 12:46:30 -05:00
1868193b54 do not prepend build_root to source files that are already inside build_root 2013-12-31 10:15:19 -05:00
295324eafd add Environment#depends() to specify user dependencies for a build target 2013-12-27 14:31:46 -05:00
7330e74ab8 modify Cache to store user-specified extra dependencies 2013-12-27 14:20:32 -05:00
a28cef9eb7 change "vars" parameters to be required 2013-12-27 13:53:40 -05:00
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
d5be569cd5 fix Environment#clone() to allow subclassing 2013-11-11 11:35:59 -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
243eb9a4ab rename "tweakers" to "build hooks" 2013-11-06 13:32:56 -05:00
c9b670ae5c change default "echo" setting to :short 2013-11-06 13:22:30 -05:00
545b893ef4 clean up a couple YARD warnings 2013-11-05 16:37:18 -05:00
797580e937 Environment: remove support for specifying :builders key in constructor 2013-11-05 14:18:02 -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
67922b887d remove Environment#targets() and Environment#target_sources() which didn't seem to be used 2013-11-05 10:42:01 -05: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
013995bbc0 refactor into Environment#run_builder() 2013-10-15 13:36:25 -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
5c6239ea6d Rscons.clean() removes any directories it created if they are empty 2013-09-18 21:17:42 -04:00
986b8f08cc prepend builder-temporary construction variables with "_"; reserve lowercase string variables for user 2013-09-16 22:30:16 -04:00
64d15602cc add Library default builder 2013-09-12 23:35:34 -04:00
837dff9374 pass extra construction variables to Builder#run() 2013-09-12 22:57:22 -04:00
75f2418570 refactor some Program functionality into Environment#build_sources() 2013-09-12 22:38:52 -04:00
711e96cec8 write out cache file when raising a build error exception 2013-08-12 14:40:46 -04:00
289d27d41d raise Rscons::BuildError on a build failure 2013-08-12 13:13:22 -04:00
13b9499fbf Environment#build_dir(): allow src_dir to be a regex 2013-08-05 14:48:47 -04:00
4286925f95 Environment#clone(): do not clone build directories 2013-08-05 14:48:31 -04:00
75977981c0 fix parsing Makefile dependencies when they spanned multiple lines 2013-08-05 14:27:57 -04:00
3f33336fff document block syntax for Environment 2013-08-04 15:46:13 -04:00
8d4be1b51a add/update YARD documentation 2013-08-04 15:39:01 -04:00
6fa4a8556a support compiling C++ objects with Object builder 2013-08-03 14:47:41 -04:00
0c0c8f734f add optional options argument to Environment#execute() 2013-07-17 21:22:52 -04:00
44e28fdc1c always print command that failed 2013-07-17 20:47:05 -04:00
b8acc74b5d add Environment#clone() and a build test for it 2013-07-15 21:44:07 -04:00
c9f6bdb2e2 pass environment to builder functions instead of as an initialization parameter 2013-07-15 21:41:33 -04:00
bcfeadeebf Environment: change @build_dirs to be a Hash 2013-07-15 20:48:17 -04:00