466 Commits

Author SHA1 Message Date
7c9e7e833a Unbuffer $stdout 2014-06-12 09:36:24 -04:00
eb9aa476b7 update default construction variables to match SCons a little more closely 2014-06-11 16:54:32 -04:00
7f2b685bfb shorten Environment#shell code a bit 2014-06-11 15:31:13 -04:00
ae9021a505 add Environment#shell - close #11 2014-06-11 14:59:31 -04:00
9abb47ffe7 v1.4.3 2014-05-14 15:53:52 -04:00
08f2248ed7 fix up builders to properly use variable overrides 2014-05-14 15:15:08 -04:00
9d61fa0276 merge Environment#build_command and #expand_varref 2014-05-14 14:33:09 -04:00
c0adb64c5d v1.4.2 2014-05-09 10:32:22 -04:00
58b41df426 expand target and sources for construction variable references before invoking builder 2014-05-09 09:45:29 -04:00
bd525e2742 rename Environment#clean_target_paths! -> #expand_paths! 2014-05-09 09:19:40 -04:00
c08a2243b9 add Environment#expand_path 2014-05-05 16:22:07 -04:00
0de1e8e970 v1.4.1 2014-04-17 12:03:29 -04:00
6f20a1da3f bugfix: support invoking builders with no sources and a build root defined 2014-04-17 12:03:09 -04:00
03ffb39956 v1.4.0 2014-04-15 16:19:19 -04:00
ddf00d08a7 shortcut all of Environment#process if @targets is empty 2014-04-15 16:18:33 -04:00
d424facf7f Add Preprocess and Disassemble builders 2014-04-15 15:21:55 -04:00
ee5aca275d Write Cache to disk if an exception occurs while processing the Environment - fix #4 2014-04-15 14:20:30 -04:00
ea30b0b5ee Fix Cache#mkdir_p to handle absolute paths - fix #5 2014-04-15 14:15:32 -04:00
5a0d80b781 Cache: implement "dirty" attribute to only re-serialize when necessary 2014-04-15 14:11:10 -04:00
a2653a77d1 shortcut Environment#process if @targets is empty 2014-04-15 14:04:59 -04:00
160434b903 Cache: change to a Singleton object so it is only loaded from disk once 2014-04-15 14:02:26 -04:00
5ce8940d54 stop encoding Cache contents 2014-04-15 13:39:45 -04:00
1a5e9ddaa6 Implement copy-on-write semantics for VarSet, speeding up Environment cloning 2014-04-15 11:21:15 -04:00
5924154229 speed up VarSet#deep_dup a bit 2014-04-15 09:47:05 -04:00
5beda54374 do not clone @varset when appending to the cloned environment since appending will do its own clone 2014-04-15 09:36:30 -04:00
ae0ad98075 use @varset.append() instead of @varset.send(:append) 2014-04-15 09:32:35 -04:00
f5be3a3571 VarSet: implement deep copying ourselves instead of using Marshal for a speed increase 2014-04-15 09:16:30 -04:00
fdc5c8773c Issue #7 - store MD5 of build command instead of the full command in the cache 2014-04-14 17:17:54 -04:00
c61380b354 Issue #7 - change .rsconscache from using YAML to JSON to speed up parsing 2014-04-14 16:52:21 -04:00
1fe2c6401d expand ^/ in target paths to be relative to the build root 2014-03-27 13:30:11 -04:00
1875a2ea66 Pass the Environment object to build hooks in the :env key of the build_op parameter 2014-03-27 10:44:10 -04:00
cbd5816b4b add VarSet#include? 2014-03-27 10:39:46 -04:00
b2c970c9ca add Environment#add_target and use it from Environment#method_missing 2014-03-26 11:29:02 -04:00
92a9982988 use #super from #method_missing instead of method aliasing 2014-03-26 11:23:32 -04:00
533ee9c16c add CFile builder to create C/C++ sources from lex/yacc input files 2014-03-18 21:57:53 -04:00
831b9bf2c7 v1.3.0 2014-02-25 12:18:02 -05:00
e3aeb7f4d7 Change Environment#execute() options Hash to contain :env and :options keys for Kernel#system() 2014-02-25 12:14:52 -05:00
6aa5037234 v1.2.0 2014-02-20 16:42:10 -05:00
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
af0679708c v1.1.0 2014-02-17 16:37:59 -05:00
1d47db3144 support passing multiple targets to Cache#up_to_date? and #register_build 2014-02-17 16:10:15 -05:00
f7b7a4fefa v1.0.0 2014-02-14 10:46:31 -05:00
00b038ef50 use require_relative instead of require 2014-02-14 10:37:41 -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
7c89dddbd6 v0.3.1 2014-01-23 14:40:45 -05:00
c07d9f86a6 bugfix: loading a Cache without deps or user_deps stored causes an exception 2014-01-23 14:40:30 -05:00