32 Commits
Author SHA1 Message Date
josh db45548b49 chdir and remove test dir in after call if test fails 2013-06-30 09:59:12 -04:00
josh a732603b59 test rebuilding a C file when a header dependency changes 2013-06-29 20:33:07 -04:00
josh e66422f32f add spec for building with a header file 2013-06-29 20:27:45 -04:00
josh 7983c03a0b encode MD5 in default encoding instead of ASCII-8BIT 2013-06-29 20:20:11 -04:00
josh c7ab339753 parse makefile depends generated by gcc 2013-06-29 20:05:41 -04:00
josh 37337f80d5 specify the type desired for some *SUFFIX variables when they are used 2013-06-27 21:20:18 -04:00
josh 975f6b06c8 Environment.[]() allows specifying the type of variable you want returned 2013-06-27 21:19:13 -04:00
josh 46c50049aa Builder.produces? checks both target and source file names 2013-06-27 21:02:50 -04:00
josh 44d57881c2 Environment.echo does not need an attr_accessor 2013-06-27 20:42:34 -04:00
josh a724d9b2a9 change builder VARIABLE_DEFAULTS constant to default_variables() class method 2013-06-27 19:52:51 -04:00
josh 256e341e5e CC builder uses target file name passed in instead of determining it itself 2013-06-26 22:50:44 -04:00
josh 68329ca7ad test rebuilding when a source file changes 2013-06-26 22:21:43 -04:00
josh 37d324173a test short echo mode 2013-06-26 22:10:17 -04:00
josh 5d8e3fe1fd add and use LDCOM environment variable 2013-06-26 22:07:44 -04:00
josh fbdc773abb expand variable lists with prefix/suffix elements 2013-06-26 22:07:23 -04:00
josh 5e42e9b868 define and use $CCCOM variable for CC command 2013-06-26 21:37:52 -04:00
josh 0f3a6accd7 pass extra variables into Environment.execute() 2013-06-26 21:32:08 -04:00
josh 116406c74d Environment.execute() expands $ variable references recursively 2013-06-26 21:27:57 -04:00
josh 58d7f4edd5 call original method_missing() from Environment's method_missing() when a builder is not found 2013-06-26 20:49:16 -04:00
josh 16918570d2 flatten command so env vars like LD can themselves be lists 2013-06-26 20:27:24 -04:00
josh fdd21754d1 replace Builder.makes_object_file? with Builder.produces? 2013-06-25 22:01:31 -04:00
josh 119f3c9f0f Do not rebuild targets when they are up to date
Store dependencies and file checksums in a cache file
2013-06-23 23:21:02 -04:00
josh 8af27d7775 Reorganize build tests structure 2013-06-23 13:48:26 -04:00
josh 488b754f4d build object files for sources 2013-06-17 21:57:34 -04:00
josh 0752765c8d build_tests_spec silences $stdout by default 2013-06-16 22:57:54 -04:00
josh 036b968ce9 fix build_tests spec to change directories properly 2013-06-16 22:45:36 -04:00
josh 62e9bfa5d3 add Environment.execute(); implement first version of Program builder 2013-06-16 22:41:47 -04:00
josh 3b8763a424 invoke the builder's run() method 2013-06-16 22:17:56 -04:00
josh 15515d4696 fill out c-simple build test 2013-06-16 18:14:08 -04:00
josh 22e332e1fe Create rspec test structure for build tests 2013-06-16 17:57:45 -04:00
josh 07579fea35 start on Builder/Environment/CC/Program 2013-06-16 15:34:34 -04:00
josh 8ad6384237 Initial gem creation 2013-06-15 15:08:59 -04:00