172 Commits

Author SHA1 Message Date
3601359c08 process jobs from the JobSet 2017-02-16 19:27:18 -05:00
c4c2d5c128 Environment#parse_flags should put -std=XXX flags in CCFLAGS, not CFLAGS 2016-09-30 14:02:30 -04:00
0442b876a5 allow phony targets in conjunction with a build root 2016-01-12 10:14:10 -05:00
3b8910075a use class instance variables instead of class variables 2015-02-15 18:38:09 -05:00
7a04bec2ff support phony targets - close #25 2015-02-15 18:29:33 -05:00
4eedea2563 add Copy builder as a copy of Install 2015-02-07 09:57:44 -05:00
f678803a5d add Install builder - close #6 2015-02-07 09:49:29 -05:00
859f87ddee add a Directory builder - close #27 2015-01-29 09:31:00 -05:00
73bc71a656 test expanding paths after a build target is registered from within a build hook 2015-01-28 17:15:55 -05:00
29a8684f90 support registering multiple build targets with the same path - close #26 2015-01-28 17:10:36 -05:00
02aff35222 allow overriding Command builder short description with CMD_DESC variable -- close #22 2015-01-24 09:40:07 -05:00
76610a07a9 fix variable references that expand to arrays in build target sources - fix #20 2015-01-20 21:26:45 -05:00
0ea842fffe rework Preprocess builder to consider deep dependencies - fix #21 2015-01-20 21:16:21 -05:00
d28722a4bb fix Rscons.set_suffix to append the given suffix if the filename has none 2015-01-20 21:13:27 -05:00
99ba015630 fix Environment#dump when construction variables are Symbols 2014-10-22 14:30:14 -04:00
d9e3129ad5 add Environment#dump 2014-10-22 10:30:57 -04:00
b05eed36eb add VarSet#to_h 2014-10-21 16:06:15 -04:00
7ea0721cc2 add a Builder#run method which raises an error unless overridden 2014-10-16 16:52:26 -04:00
Michael D. Lowis
92d4dd8396 Implemented SimpleBuilder and updated Environment#add_builder method to support it 2014-10-16 16:37:37 -04:00
Michael D. Lowis
e279959d79 Added a command builder to the list of default builders 2014-10-13 12:27:05 -04:00
a0874e7cf1 add tests for *SUFFIX variables containing Arrays - close #9 2014-09-25 11:12:11 -04:00
20f3da3b04 allow trailing slashes to be passed to env.build_dir() 2014-09-25 10:45:52 -04:00
a6a79b8ef1 test cloning post-build hooks 2014-09-23 12:44:02 -04:00
453295a49b add post-build hooks - close #14 2014-09-19 12:36:57 -04:00
dee2b98f6e allow build hooks to register new build targets - close #15 2014-09-19 11:10:59 -04:00
b186b3102c clear build targets after processing an Environment - close #17 2014-09-19 10:45:49 -04:00
df1e3be829 fix #12 - allow overriding dependency file suffix with DEPFILESUFFIX construction variable 2014-08-18 15:53:02 -04:00
851adae66f fix #13 - Environment#depends should expand its arguments for construction variables 2014-08-18 15:39:33 -04:00
28bedfce11 Support lambdas as construction variable values 2014-06-18 10:43:35 -04:00
d9eea10363 update D build test for Linux 2014-06-12 16:00:41 -04:00
5045e2e336 fix build test for Linux 2014-06-12 15:59:49 -04:00
31968e7e32 complete spec updates for RSpec 3 using only :expect syntax 2014-06-12 15:52:15 -04:00
5783ed993a update more rspec expectations 2014-06-12 15:43:50 -04:00
0778f043ee update many specs to RSpec 3 format 2014-06-12 15:39:20 -04:00
42597b2dac use new rspec expect syntax 2014-06-12 13:54:35 -04:00
7b13d51d23 environment spec updates for Windows 2014-06-12 13:41:46 -04:00
c2d4ece957 build test spec fix for running on Windows 2014-06-12 13:38:15 -04:00
3ab9c8723b fix a build test for MinGW 2014-06-12 13:35:11 -04:00
1b50a9dd3c add Rscons::BuildTarget
Return a BuildTarget object from Environment#method_missing when a build target is registered.
2014-06-12 13:31:17 -04:00
87b25d7bfd add PROGSUFFIX construction variable and default it to ".exe" for mingw/cygwin platforms 2014-06-12 13:02:53 -04:00
da457b9138 fix spec typo 2014-06-12 11:31:56 -04:00
0cbf05da49 retry directory removal to work around Windows' inability to remove directories when you ask 2014-06-12 11:31:17 -04:00
9f75ea9d21 add Rscons.command_executer to determine command executer
Use "env" to execute commands when in MSYS on Windows
2014-06-12 11:07:09 -04:00
ef18c9da35 Environment: add #parse_flags, #parse_flags!, and #merge_flags 2014-06-12 10:40:01 -04:00
ae9021a505 add Environment#shell - close #11 2014-06-11 14:59:31 -04:00
f5a3b448d3 test supported construction variable types when cloning 2014-05-15 15:54:02 -04:00
ab1ea34941 add specs testing construction variable overrides for built-in builders 2014-05-14 15:48:00 -04:00
08f2248ed7 fix up builders to properly use variable overrides 2014-05-14 15:15:08 -04:00
58b41df426 expand target and sources for construction variable references before invoking builder 2014-05-09 09:45:29 -04:00
6f20a1da3f bugfix: support invoking builders with no sources and a build root defined 2014-04-17 12:03:09 -04:00