445 Commits

Author SHA1 Message Date
cb30d2dda8 add optional options argument to Cache#up_to_date?() 2013-07-17 22:12:26 -04:00
c4dfb60a08 guard for nil suffix in String#has_suffix?() 2013-07-17 22:03:43 -04:00
0c0c8f734f add optional options argument to Environment#execute() 2013-07-17 21:22:52 -04:00
136ad0f29a default AS construction variable to $CC 2013-07-17 20:48:18 -04:00
44e28fdc1c always print command that failed 2013-07-17 20:47:05 -04:00
1b6c74bfd5 expand variable references recursively 2013-07-17 20:40:29 -04:00
2f2de3b709 rename CC builder to Object
begin supporting compiling things other than C
2013-07-17 19:37:14 -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
5dee51b21c add build test for custom builders 2013-07-15 20:46:00 -04:00
2cb584312e add build test using a build directory 2013-07-15 19:14:52 -04:00
741f5cfe5e add initial support for build directories 2013-07-15 19:11:33 -04:00
97ce9bb3e3 add Environment#append() for adding construction variables 2013-07-15 19:10:14 -04:00
5eb914fb76 add default CPPPATH construction variable to CC builder 2013-07-15 19:07:59 -04:00
493bbbe017 add default Builder#produces?() method 2013-07-15 19:07:06 -04:00
141f8ad5ac test re-invoking a builder if the command-line options change 2013-07-14 23:24:46 -04:00
82cdca77f1 test not rebuilding for only a timestamp change 2013-07-14 23:17:02 -04:00
833cc5915e fix Cache#up_to_date?() checking dependency subset - initial rebuilding only when necessary working 2013-07-14 23:14:59 -04:00
0bf71ae4d1 implement Cache to store info about target dependencies and checksums across invocations 2013-07-14 21:51:31 -04:00
9c69a45f77 Environment: slight syntax cleanup 2013-07-11 19:10:31 -04:00
9b4526b518 Environment: rename @variables -> @varset 2013-07-11 18:55:28 -04:00
cecb43a61c move expanding variable expansions from Environment.execute() to VarSet.expand_varref() 2013-07-11 17:37:02 -04:00
ff822155ea add VarSet class to keep track of construction variables 2013-07-10 17:18:33 -04:00
bbdd6e930f use default Environment.new, check block_given?() from initialize() 2013-07-09 20:11:15 -04:00
25f0d4e36a add pending spec for cache 2013-07-07 20:38:46 -04:00
2939dc8c74 rework the way the build tests examine the output 2013-07-07 20:01:35 -04:00
2f907ab3eb test :short echo mode 2013-07-07 19:54:05 -04:00
03f8f56858 test command echoing 2013-07-07 17:46:01 -04:00
1eb9008885 test rebuilding C module when header changes 2013-07-07 17:41:47 -04:00
06be9a812e test building with a header file 2013-07-07 17:34:44 -04:00
760f698963 fill in CC, Program, Environment.process() to get simple builds working 2013-07-07 17:17:46 -04:00
5634b8856d add initial Cache class 2013-07-05 11:07:02 -04:00
c008350d87 add_builder() takes an actual builder object instead of the builder class 2013-07-01 17:08:01 -04:00
12d94997dc Begin on Program builder
monkey-patch String class for suffix checking/changing methods
2013-06-30 20:09:43 -04:00
6cfba1c2fe create Builder constructor 2013-06-30 20:09:18 -04:00
ea5ff789f2 add index function to Environment for variable access 2013-06-30 19:30:22 -04:00
3ba3111a45 add functionality to add builders to an Environment 2013-06-30 19:26:09 -04:00
02f2f635bf properly invoke ruby subprocess and require rscons this time 2013-06-30 18:48:06 -04:00
72b49afb43 add Builder class 2013-06-30 18:39:30 -04:00
4dd5ce9262 require rscons when running build test in a ruby subprocess 2013-06-30 18:13:07 -04:00
1e559fa3ca add initial Environment class 2013-06-30 18:06:28 -04:00
4152cfd1ea create rspec environment for build tests 2013-06-30 15:23:00 -04:00
a62d2605bf add spec task 2013-06-30 14:24:15 -04:00
c5622a4296 initial gem creation 2013-06-30 14:16:45 -04:00