Commit Graph

18 Commits

Author SHA1 Message Date
Marcelo Fabri 9a5e30e794 Split cache into read cache and write cache 2017-05-24 17:03:51 +02:00
JP Simard ca08d6598a move LinterCache+CommandLine to SwiftLintFramework
and make cacheURL an internal member of Configuration
2017-05-18 14:53:39 -07:00
JP Simard 690b567421 simplify serialized cache structure 2017-05-18 14:40:40 -07:00
JP Simard bd7169e40c cache each file with its own configuration cache description
to make the cache play nicely with nested configurations
2017-05-18 14:31:33 -07:00
JP Simard 258a80b5cc don't overwrite cache results from different versions 2017-05-18 14:31:33 -07:00
JP Simard 70bcb2c4e5 add LinterCache.Key enum
rather than use hardcoded, duplicate string literals
2017-05-18 13:59:24 -07:00
Víctor Pimentel 5ed010c9c0 Change LinterCache to use file modification dates instead of hashing files with a weak algorithm. 2017-05-18 13:39:05 -07:00
Marcelo Fabri 94f48f4ebd PR feedback 2017-01-10 13:09:18 -02:00
Marcelo Fabri 0cf433834e PR feedback 2017-01-05 12:01:47 -02:00
Marcelo Fabri e8ead8827b Make LinterCache thread-safe 2017-01-02 16:44:54 -02:00
Marcelo Fabri b3cd5008c0 Make LinterCache final 2016-12-31 01:42:18 -02:00
Marcelo Fabri 3d376241be Moving cache usage to the linter 2016-12-31 00:26:05 -02:00
Marcelo Fabri 77e4249a3d Improved cache structure 2016-12-31 00:24:54 -02:00
Marcelo Fabri a47385a64f Ignore cache if configuration has changed 2016-12-31 00:24:54 -02:00
Marcelo Fabri b1f62e2b63 Add some tests 2016-12-31 00:24:54 -02:00
Marcelo Fabri f1e33760f0 Fixing compile isse 2016-12-31 00:24:54 -02:00
Marcelo Fabri a92a24c598 Ignore cache when versions are different 2016-12-31 00:24:54 -02:00
Marcelo Fabri c698d021dc Initial cache implementation 2016-12-31 00:24:54 -02:00