Commit Graph
81 Commits
Author SHA1 Message Date
Max Howell 6b52932e7b Merge pull request #27 from mxcl/codecov
More coverage
2019-01-31 16:29:08 -05:00
Max Howell c456081e65 More coverage 2019-01-31 14:26:09 -05:00
Max Howell ec6c0113f9 Remaining code coverage
Can’t do coverage for Linux unfortunately.
2019-01-31 13:11:50 -05:00
Max Howell 7970c4d8a7 Document robustness & XP
[ci skip]
2019-01-31 12:38:41 -05:00
Max Howell e342da8644 Remove auto-tagging since I can do this manually 2019-01-31 12:28:16 -05:00
Max Howell 9aa91c649e Merge pull request #26 from mxcl/codecov
Increase code coverage
2019-01-31 12:25:41 -05:00
Max Howell 62ea0d47b3 Fixes & increased code coverage 2019-01-31 12:15:31 -05:00
Max Howell 49ef073e34 Refactor rename -> rename(to:) 2019-01-31 10:15:39 -05:00
Max Howell 889d825b3a Merge pull request #24 from mxcl/rename
Rename
2019-01-31 10:08:02 -05:00
Max Howell f1cd06fdff Add CI post success hook yamls 2019-01-31 09:58:46 -05:00
Max Howell c6e840b9b6 Add rename 2019-01-31 08:39:54 -05:00
Max Howell eb34ac4af8 Add overwrite parameter to move(into:) 2019-01-31 08:37:32 -05:00
Max Howell 66ae86c986 Enable codecov.io 2019-01-31 08:37:14 -05:00
Max Howell c432f710eb Merge pull request #22 from mxcl/files()
Entry.files defaults to all files
2019-01-28 12:17:08 -05:00
Max Howell 19c0c19bb6 Entry.files defaults to all files 2019-01-28 12:04:47 -05:00
Max Howell ee1f46954c Fixes #20
[skip ci]
2019-01-28 11:05:51 -05:00
Max Howell 2394cc1c85 Merge pull request #19 from JaapWijnen/filehandle-extensions
added extension to initialize filehandle from path
2019-01-27 16:59:44 -05:00
Max Howell 9f40068833 Badge for Swift 5 support 2019-01-26 16:15:45 -05:00
Max Howell 67f4e5f41a Merge pull request #16 from mxcl/bundle-non-optional
Bundle extensions don’t return optional Paths
2019-01-26 15:46:03 -05:00
Max Howell 83c83dcaba Bundle extensions don’t return optional Paths
Rationale: Paths are not guaranteed to exist, the Bundle functions return optional if the path doesn't exist. So we'll provide a sensible default instead and you need to check the result exists at some point instead.

This makes more elegant chains, the chain will fail when you operate on it, but you don’t have to do a check for optional first. Or risk a bang.
2019-01-26 15:20:32 -05:00
Max Howell 93e2701950 Docs tweaks
[ci skip]
2019-01-26 15:10:52 -05:00
Max Howell bbf1f24ef6 Fix Cocoapods deploy 2019-01-26 14:42:00 -05:00
Max Howell c08ccdfb30 Merge pull request #15 from mxcl/dynamic-members
Dynamic members
2019-01-26 13:34:17 -05:00
Max Howell 859164e59f Dynamic Members 2019-01-26 13:23:25 -05:00
Max Howell 44be1c45a9 Add Path.ctime 2019-01-26 13:17:39 -05:00
Max Howell 99b948f9c1 Minor documentation fixes
[ci skip]
2019-01-26 13:17:39 -05:00
Max Howell 3beba13677 Merge pull request #14 from mxcl/delete-noop
Delete noop
2019-01-26 11:12:17 -05:00
Max Howell bafb05ff54 Document noop behavior 2019-01-26 11:05:49 -05:00
Max Howell 356a1b3ac2 Delete is a noop if file doesn’t exist
Closes #11.
2019-01-26 11:05:31 -05:00
Max Howell 6d8712f4d6 Remove mkpath, add mkdir(.p) 2019-01-26 11:05:10 -05:00
Max Howell 8744b68709 Make nodoc work for Codable 2019-01-26 10:59:20 -05:00
Max Howell 9ea32048f7 Merge pull request #13 from mxcl/more-docs
Improved documentation; Fixes #12
2019-01-25 21:20:24 -05:00
Max Howell 4b16dac3bf Improved documentation; Fixes #12 2019-01-25 20:46:37 -05:00
Max Howell b613449232 Making this static will fix documentation location
[ci skip]
2019-01-25 12:23:54 -05:00
Max Howell db135e32c8 Tag 0.5.0 2019-01-25 11:08:57 -05:00
Max Howell bfcc48db20 Merge pull request #10 from mxcl/fixes
Swift 5 / Xcode 10.2 / Fixes
2019-01-25 11:04:35 -05:00
Max Howell b0bf0d0074 This is not yet fixed in Linux Swift 5.0 2019-01-25 10:55:02 -05:00
Max Howell 5f364fe21b Test against Swift 5 snapshot 2019-01-25 10:40:10 -05:00
Max Howell fdff3bcc05 Swift 5 --warnings 2019-01-24 15:02:06 -05:00
Max Howell 2388c384a1 Swift 5 Manifest (untested until Travis catches up) 2019-01-24 15:01:53 -05:00
Max Howell 80960f5876 Don’t overwrite a file with a directory 2019-01-24 14:44:01 -05:00
Max Howell 9eca479f7b Fix mtime return so it is as per doc contract 2019-01-24 14:43:45 -05:00
Max Howell ca9f1e0a74 Parallelize tests 2019-01-23 11:25:51 -05:00
Max Howell de4fb3ae47 Remove replaceContents, user can use String.write 2019-01-22 17:57:28 -05:00
Max Howell 58d026c8a9 Fix copy(into:) overwrite mode
Seems like Linux Foundation has a bug

I checked, seems fixed in Swift 5. But added a swift version check se we can verify and if not report the bug.
2019-01-22 15:26:04 -05:00
Max Howell 43d3e0a745 Improve docs 2019-01-21 14:30:12 -05:00
Max Howell 21fb03b9d9 Test .. paths work with join 2019-01-21 14:26:56 -05:00
Max Howell 3333c731d3 Fix Travis 2019-01-21 12:57:13 -05:00
Max Howell e15173cfbc Merge pull request #9 from LucianoPAlmeida/is-path-conveniece-add
Adding convenience extensions on Path->Bool
2019-01-20 19:28:05 -05:00
Max Howell aac81b85a4 Merge pull request #8 from mxcl/better-deploy
Better deploy
2019-01-20 18:53:11 -05:00
Max Howell 3644124a36 Fix testing on tvOS/iOS 2019-01-20 18:44:24 -05:00
Max Howell ca4ac3ec8f Fix stage types in .travis.yml 2019-01-20 17:33:56 -05:00
Max Howell 920f007660 Fix Linux testEnumerationSkippingHiddenFiles() 2019-01-20 17:32:39 -05:00
Max Howell 751b855a26 Pretest that fails if Linux tests aren't current 2019-01-20 17:25:46 -05:00
Max Howell c0e5023632 Better deployment of Jazzy and Pods 2019-01-20 17:13:03 -05:00
Max Howell e0c62108e8 Update Linux tests 2019-01-20 16:30:02 -05:00
Max Howell 5cc2fcbf30 Tag 0.4.1 2019-01-20 16:26:22 -05:00
Max Howell 7595c601e8 Attempt custom Jazzy index/contents 2019-01-20 16:24:06 -05:00
Max Howell 86798755be Deploy to CocoaPods 2019-01-20 13:37:34 -05:00
Max Howell 152ad8a8ae Implementations of CommonDirs for Linux 2019-01-20 13:03:38 -05:00
Max Howell a98ba37e59 Merge pull request #1 from itsallmememe/master
Common Directories
2019-01-20 12:30:29 -05:00
Max Howell 1c2cffada5 Support CocoaPods 2019-01-19 22:12:06 -05:00
Max Howell 6c24de4875 Fix actually deploying 2019-01-19 15:08:11 -05:00
Max Howell 6df12b3bb9 Refer to alternative packages 2019-01-19 15:07:47 -05:00
Max Howell d52cdf96c4 Merge pull request #4 from mxcl/more-docs
More docs
2019-01-19 14:46:46 -05:00
Max Howell 3eda9a9741 100% documentation please 2019-01-19 14:36:27 -05:00
Max Howell 29149da72b Use FileManager.homeDirectory where possible 2019-01-19 14:35:42 -05:00
Max Howell cd30e89808 Remove TemporaryDirectory
This violates the responsibility of this framework.
2019-01-19 14:20:12 -05:00
Max Howell 9f76eeb507 Link to Jazzy docs 2019-01-19 12:55:18 -05:00
Max Howell b5bdaa6ceb Fix Jazzy root-url 2019-01-19 12:52:47 -05:00
Max Howell 17dd706115 Merge pull request #3 from mxcl/jazzy
Generate Jazzy docs in Travis
2019-01-19 12:40:21 -05:00
Max Howell 903038ae80 Generate Jazzy docs in Travis 2019-01-19 12:34:35 -05:00
Max Howell f56811d64f Document various rules and caveats 2019-01-18 17:47:04 -05:00
Max Howell f99e7b5ae7 Test iOS, tvOS & watchOS 2019-01-18 13:37:28 -05:00
Max Howell 9553968d66 Add Travis badge 2019-01-18 12:27:05 -05:00
Max Howell 3541c6ec8d Tidy 2019-01-18 09:25:24 -05:00
Max Howell b4c92f86dc Fix tests on Linux 2019-01-17 18:23:22 -05:00
Max Howell cac06d89fb Linux 2019-01-17 17:31:29 -05:00
Max Howell 4af0ee3983 Missing functions 2019-01-17 17:31:14 -05:00
Max Howell 97e9cbaa8f .some 2019-01-17 17:12:54 -05:00
Max Howell 8e0d766924 nil 2019-01-17 16:33:25 -05:00