46 Commits

Author SHA1 Message Date
87a15b3868 Do not calculate checksums for side-effect files - #92 2019-05-08 22:39:50 -04:00
d0cd0a14a4 remove Cache#validate_json_object - #92 2019-04-30 22:30:24 -04:00
49e1bca1f7 uninstall operation should list removed entities in verbose mode - close #102 2019-04-27 21:28:56 -04:00
328babe1f4 imbue Cache with knowledge of whether a target or directory is for a build or install operation 2019-04-22 22:19:39 -04:00
ab2fa1662f Replace specialized Cache accessors with general #[]/#[]= methods. 2019-02-25 21:22:54 -05:00
68118c2707 Remove Cache dirty-tracking
It really wasn't necessary since Cache#write is not called often.
2019-02-25 21:16:48 -05:00
5720662b7c avoid mkdir() race conditions - close #75 2018-12-11 22:13:52 -05:00
7c7ee142e0 implement autoconf - close #63, close #68, closes #67 2018-12-03 22:23:42 -05:00
e0b82d37af cache: remove obsolete "default_environment_vars" entry 2018-11-25 17:02:02 -05:00
bfdf3a12fd load configuration data when constructing a new Environment - close #60 2018-11-23 21:23:19 -05:00
6dd9c835ce store configuration data more opaquely in Cache 2018-11-23 20:15:39 -05:00
add9f9c50d save configured environment construction flags for separate build step - close #60 2018-11-15 17:04:04 -05:00
b4cc45c381 update documentation 2018-08-24 09:17:23 -04:00
57de94a3fb improve debuggability of cache.up_to_date? - close #46 2018-08-23 10:10:05 -04:00
1509c95176 remove Cache.reset! 2017-05-23 14:05:29 -04:00
551b8fa365 add integration test to verify cache is written if a builder fails 2017-02-16 19:27:18 -05:00
7a04bec2ff support phony targets - close #25 2015-02-15 18:29:33 -05:00
d5e0475e6c minor documentation improvements 2014-10-21 17:00:38 -04:00
912615535a added more documentation to get to 100% YARD coverage; fix YARD warnings 2014-06-16 15:33:22 -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
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
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
1d47db3144 support passing multiple targets to Cache#up_to_date? and #register_build 2014-02-17 16:10:15 -05:00
c07d9f86a6 bugfix: loading a Cache without deps or user_deps stored causes an exception 2014-01-23 14:40:30 -05:00
f8af0630b0 pass env to Cache#up_to_date?() and #register_build() instead of user_deps 2013-12-31 12:46:30 -05:00
7330e74ab8 modify Cache to store user-specified extra dependencies 2013-12-27 14:20:32 -05:00
8100830c16 spec Cache 2013-11-05 10:25:36 -05:00
65a5838605 Cache: set :version when writing to file 2013-11-05 09:22:46 -05:00
3339cf5280 Cache: re-encode file names in default encoding 2013-09-20 15:58:55 -04:00
32d19489cb Cache: encode directory names in __ENCODING__ - close #3 2013-09-19 16:45:35 -04:00
45a0d56c54 recover from, and warn when, .rsconscache loads something other than a Hash 2013-09-19 16:18:07 -04:00
e63b4c932f Cache: create missing hash entries from previous versions of the cache file 2013-09-19 09:43:00 -04:00
5c6239ea6d Rscons.clean() removes any directories it created if they are empty 2013-09-18 21:17:42 -04:00
770a22250a add Rscons.clear() class method 2013-09-17 21:48:50 -04:00
72976be765 fix verifying a target's checksum 2013-08-05 17:19:08 -04:00
8d4be1b51a add/update YARD documentation 2013-08-04 15:39:01 -04:00
50ea3a501e Cache: add :targets layer to hash 2013-07-22 20:30:24 -04:00
ad676ff138 comment update 2013-07-17 22:18:46 -04:00
cb30d2dda8 add optional options argument to Cache#up_to_date?() 2013-07-17 22:12:26 -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
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