Commit Graph

  • c23bb8c5e0 add support for building D sources (defaulting to gdc) josh 2013-10-29 16:17:51 -04:00
  • 31abeed3d5 v0.0.13 v0.0.13 josh 2013-10-15 16:29:54 -04:00
  • 446fef931f add "tweakers" functionality josh 2013-10-15 16:15:37 -04:00
  • 4a2997feec VarSet: make a deep copy of values passed to VarSet#append() josh 2013-10-15 16:10:56 -04:00
  • 013995bbc0 refactor into Environment#run_builder() josh 2013-10-15 13:36:25 -04:00
  • cd266c511e v0.0.12 v0.0.12 josh 2013-10-08 11:54:38 -04:00
  • 0f5fee359d cloning an Environment should make a deep copy of its construction variables josh 2013-10-08 11:54:24 -04:00
  • dc6bac2895 change build_dir build test to test build_dir specified as a Regexp josh 2013-10-04 21:40:11 -04:00
  • e50aac31c9 tweak custom_builder build test for additional coverage josh 2013-10-04 21:26:51 -04:00
  • e788f6ec25 claim simplecov coverage from build_tests josh 2013-10-04 21:05:44 -04:00
  • 8d893d7b72 rspec Module monkey-patching josh 2013-10-04 20:22:37 -04:00
  • c258dc379f rspec VarSet josh 2013-10-04 20:18:40 -04:00
  • 0facfb274d turn on simplecov josh 2013-10-04 19:37:56 -04:00
  • 3339cf5280 Cache: re-encode file names in default encoding josh 2013-09-20 15:58:55 -04:00
  • e041ea6612 v0.0.11 v0.0.11 josh 2013-09-19 17:06:37 -04:00
  • ab51ddcc1b do not try to clean directories that have already been removed josh 2013-09-19 17:04:59 -04:00
  • 3e4e9cce1c v0.0.10 v0.0.10 josh 2013-09-19 16:48:15 -04:00
  • 32d19489cb Cache: encode directory names in __ENCODING__ - close #3 josh 2013-09-19 16:45:35 -04:00
  • 45a0d56c54 recover from, and warn when, .rsconscache loads something other than a Hash josh 2013-09-19 16:18:07 -04:00
  • 9b954d9d98 v0.0.9 v0.0.9 josh 2013-09-19 09:43:17 -04:00
  • e63b4c932f Cache: create missing hash entries from previous versions of the cache file josh 2013-09-19 09:43:00 -04:00
  • 97e11f45e5 v0.0.8 v0.0.8 josh 2013-09-18 21:18:00 -04:00
  • 5c6239ea6d Rscons.clean() removes any directories it created if they are empty josh 2013-09-18 21:17:42 -04:00
  • 770a22250a add Rscons.clear() class method josh 2013-09-17 21:48:50 -04:00
  • 983cb7cf21 v0.0.7 v0.0.7 josh 2013-09-16 23:03:14 -04:00
  • 986b8f08cc prepend builder-temporary construction variables with "_"; reserve lowercase string variables for user josh 2013-09-16 22:30:16 -04:00
  • f13664331f create requisite output directories for build targets; refactor common buile functionality into Builder#standard_build() josh 2013-09-15 15:27:16 -04:00
  • 17c7bf1d31 v0.0.6 v0.0.6 josh 2013-09-12 23:37:37 -04:00
  • 64d15602cc add Library default builder josh 2013-09-12 23:35:34 -04:00
  • e04e67698a add rspec test for overridding construction variables for an individual builer josh 2013-09-12 23:05:04 -04:00
  • 837dff9374 pass extra construction variables to Builder#run() josh 2013-09-12 22:57:22 -04:00
  • 75f2418570 refactor some Program functionality into Environment#build_sources() josh 2013-09-12 22:38:52 -04:00
  • 711e96cec8 write out cache file when raising a build error exception v0.0.5 josh 2013-08-12 14:40:46 -04:00
  • 289d27d41d raise Rscons::BuildError on a build failure v0.0.4 josh 2013-08-12 13:13:22 -04:00
  • 052b1afe19 v0.0.3 v0.0.3 josh 2013-08-05 17:19:22 -04:00
  • 72976be765 fix verifying a target's checksum josh 2013-08-05 17:19:08 -04:00
  • ad2424007f v0.0.2 v0.0.2 josh 2013-08-05 14:56:20 -04:00
  • c3c6385068 String#has_suffix?(): allow nested arrays of suffixes josh 2013-08-05 14:51:07 -04:00
  • 13b9499fbf Environment#build_dir(): allow src_dir to be a regex josh 2013-08-05 14:48:47 -04:00
  • 4286925f95 Environment#clone(): do not clone build directories josh 2013-08-05 14:48:31 -04:00
  • 0db5614555 rename LIBPATHS default construction variable to LIBPATH josh 2013-08-05 14:34:59 -04:00
  • 5d0bbf73ab specify gem homepage and license - close #1 josh 2013-08-05 14:31:48 -04:00
  • 75977981c0 fix parsing Makefile dependencies when they spanned multiple lines josh 2013-08-05 14:27:57 -04:00
  • 3f33336fff document block syntax for Environment v0.0.1 josh 2013-08-04 15:46:13 -04:00
  • 5f4c6dffbc update README and give some usage examples josh 2013-08-04 15:44:22 -04:00
  • 8d4be1b51a add/update YARD documentation josh 2013-08-04 15:39:01 -04:00
  • c0a69a5055 add "yard" rake task josh 2013-08-04 10:13:43 -04:00
  • 6fa4a8556a support compiling C++ objects with Object builder josh 2013-08-03 14:47:41 -04:00
  • e6a12ac57b fix checking file suffixes josh 2013-08-03 14:20:33 -04:00
  • 50ea3a501e Cache: add :targets layer to hash josh 2013-07-22 20:30:24 -04:00
  • ad676ff138 comment update josh 2013-07-17 22:18:46 -04:00
  • cb30d2dda8 add optional options argument to Cache#up_to_date?() josh 2013-07-17 22:12:26 -04:00
  • c4dfb60a08 guard for nil suffix in String#has_suffix?() josh 2013-07-17 22:03:43 -04:00
  • 0c0c8f734f add optional options argument to Environment#execute() josh 2013-07-17 21:22:52 -04:00
  • 136ad0f29a default AS construction variable to $CC josh 2013-07-17 20:48:18 -04:00
  • 44e28fdc1c always print command that failed josh 2013-07-17 20:47:05 -04:00
  • 1b6c74bfd5 expand variable references recursively josh 2013-07-17 20:40:29 -04:00
  • 2f2de3b709 rename CC builder to Object josh 2013-07-17 19:37:14 -04:00
  • b8acc74b5d add Environment#clone() and a build test for it josh 2013-07-15 21:44:07 -04:00
  • c9f6bdb2e2 pass environment to builder functions instead of as an initialization parameter josh 2013-07-15 21:41:33 -04:00
  • bcfeadeebf Environment: change @build_dirs to be a Hash josh 2013-07-15 20:48:17 -04:00
  • 5dee51b21c add build test for custom builders josh 2013-07-15 20:46:00 -04:00
  • 2cb584312e add build test using a build directory josh 2013-07-15 19:14:52 -04:00
  • 741f5cfe5e add initial support for build directories josh 2013-07-15 19:11:33 -04:00
  • 97ce9bb3e3 add Environment#append() for adding construction variables josh 2013-07-15 19:10:14 -04:00
  • 5eb914fb76 add default CPPPATH construction variable to CC builder josh 2013-07-15 19:07:59 -04:00
  • 493bbbe017 add default Builder#produces?() method josh 2013-07-15 19:07:06 -04:00
  • 141f8ad5ac test re-invoking a builder if the command-line options change josh 2013-07-14 23:24:46 -04:00
  • 82cdca77f1 test not rebuilding for only a timestamp change josh 2013-07-14 23:17:02 -04:00
  • 833cc5915e fix Cache#up_to_date?() checking dependency subset - initial rebuilding only when necessary working josh 2013-07-14 23:14:59 -04:00
  • 0bf71ae4d1 implement Cache to store info about target dependencies and checksums across invocations josh 2013-07-14 21:51:31 -04:00
  • 9c69a45f77 Environment: slight syntax cleanup josh 2013-07-11 19:10:31 -04:00
  • 9b4526b518 Environment: rename @variables -> @varset josh 2013-07-11 18:55:28 -04:00
  • cecb43a61c move expanding variable expansions from Environment.execute() to VarSet.expand_varref() josh 2013-07-11 17:37:02 -04:00
  • ff822155ea add VarSet class to keep track of construction variables josh 2013-07-10 17:18:33 -04:00
  • bbdd6e930f use default Environment.new, check block_given?() from initialize() josh 2013-07-09 20:11:15 -04:00
  • 25f0d4e36a add pending spec for cache josh 2013-07-07 20:38:46 -04:00
  • 2939dc8c74 rework the way the build tests examine the output josh 2013-07-07 20:01:35 -04:00
  • 2f907ab3eb test :short echo mode josh 2013-07-07 19:54:05 -04:00
  • 03f8f56858 test command echoing josh 2013-07-07 17:46:01 -04:00
  • 1eb9008885 test rebuilding C module when header changes josh 2013-07-07 17:41:47 -04:00
  • 06be9a812e test building with a header file josh 2013-07-07 17:34:44 -04:00
  • 760f698963 fill in CC, Program, Environment.process() to get simple builds working josh 2013-07-07 17:17:46 -04:00
  • 5634b8856d add initial Cache class josh 2013-07-05 11:07:02 -04:00
  • c008350d87 add_builder() takes an actual builder object instead of the builder class josh 2013-07-01 17:08:01 -04:00
  • 12d94997dc Begin on Program builder josh 2013-06-30 20:09:43 -04:00
  • 6cfba1c2fe create Builder constructor josh 2013-06-30 20:09:18 -04:00
  • ea5ff789f2 add index function to Environment for variable access josh 2013-06-30 19:30:22 -04:00
  • 3ba3111a45 add functionality to add builders to an Environment josh 2013-06-30 19:26:09 -04:00
  • 02f2f635bf properly invoke ruby subprocess and require rscons this time josh 2013-06-30 18:48:06 -04:00
  • 72b49afb43 add Builder class josh 2013-06-30 18:39:30 -04:00
  • 4dd5ce9262 require rscons when running build test in a ruby subprocess josh 2013-06-30 18:13:07 -04:00
  • 1e559fa3ca add initial Environment class josh 2013-06-30 18:06:28 -04:00
  • 4152cfd1ea create rspec environment for build tests josh 2013-06-30 15:23:00 -04:00
  • a62d2605bf add spec task josh 2013-06-30 14:24:15 -04:00
  • c5622a4296 initial gem creation josh 2013-06-30 14:16:45 -04:00