Commit Graph
100 Commits
Author SHA1 Message Date
Max Howell f062ed9ce3 Fix CI deploy 2020-01-24 12:01:34 -05:00
Max Howell f1f7ee33b1 [ci skip] List all support Swift 2020-01-24 11:17:42 -05:00
Max Howell 694d04f18b Prepare 1.0.0 release 2020-01-24 11:03:07 -05:00
Max Howell 5636a7ac65 Update Swift Linux test versions 2020-01-18 12:10:32 -05:00
Max Howell 3e964833ff Fix README documentation for Finder 2020-01-18 12:10:32 -05:00
Max Howell 30122659a5 Update linux-tests; fail if warnings on travis
* Update linux-tests; fail if warnings on travis

* Fix warnings on Linux

* Typo

* Can’t test these on Linux
2019-08-18 16:52:24 -04:00
Max Howell 0ef50dff2e Finder is a iterable Sequence; .type -> .kind 2019-07-24 14:39:47 -04:00
Max Howell dfad7367b7 Get out documentation %age up 2019-07-21 21:35:48 -04:00
Max Howell af091cc1f0 Split this test so I can figure out CI failure 2019-07-21 18:58:50 -04:00
Max Howell e5188bf93b Still not fixed 2019-07-21 18:58:49 -04:00
Max Howell 462a62920f Update Swifts in CI; Test Xcode 11 2019-07-21 18:58:49 -04:00
Max Howell 45b0b59a94 Better rx for tagged version detection on Travis 2019-07-21 17:37:10 -04:00
Max Howell 62073d584b Remove Entry since it is barely worthwhile sugar 2019-07-21 17:37:10 -04:00
Max Howell 621d1b0160 Remove @dynamicMember generally 2019-07-21 17:37:10 -04:00
Max Howell d2bb2a1fdc Path.find() 2019-07-21 17:22:38 -04:00
Max Howell 38e98ee7fd Jazzy requires Xcode 10.2 now (per their docs) 2019-07-21 09:07:03 -04:00
Max Howell b6b4a74a26 Move deploy script to @mxcl/ops 2019-04-14 12:40:07 -04:00
Max Howell b76db41ca4 422 means the release already exists, so… succeed 2019-04-14 10:49:17 -04:00
Max Howell 8d5d67b81b Merge pull request #48 from mxcl/travis-swift-5.0-GM
[travis] Swift 5 GM
2019-03-25 22:02:33 -04:00
Max Howell 21ddc7dc3a [travis] Swift 5 GM 2019-03-25 21:40:17 -04:00
Max Howell f324b4a562 Merge pull request #47 from mxcl/fix-symlink-delete
Adds `kind` fixes deleting broken symlinks
2019-03-18 19:56:39 -04:00
Max Howell 0e061f9cc8 Adds kind fixes deleting broken symlinks
`delete()` and other functions would check `exists` to do certain behaviors, but `exists` will validate a symlink if the entry is a symlink, thus instead we check if the path is an actual entry now instead.
2019-03-18 19:47:49 -04:00
Max Howell 7e774b6cf5 Use 10.2 image for pretest
Also some tidy
2019-03-06 15:55:51 -05:00
Max Howell 8b371fa5d2 Allow initialization from Substring etc. 2019-03-06 15:55:51 -05:00
Max Howell 02fd579f19 mxcl.github.io -> mxcl.dev
[ci skip]
2019-02-28 18:40:19 -05:00
Max Howell f4c2c75aa1 Add Bundle.executable 2019-02-17 10:05:30 -05:00
Max Howell 476cdc1461 Add Path.components 2019-02-15 13:38:36 -05:00
Max Howell a644208c62 Test Swift 4.0.3 also 2019-02-13 21:34:35 -05:00
Max Howell d7a9819350 Fix publishing the release in the deploy stage
[ci skip]
2019-02-13 20:52:39 -05:00
Max Howell 3735ed4476 You can specify future Swifts in a 4.2 manifest! 2019-02-13 19:40:07 -05:00
Max Howell 2880aa556b This hack did not work in fact 2019-02-13 16:28:16 -05:00
Max Howell d79844cf2b Use a symlink to prevent Package.swift divergence 2019-02-13 15:53:41 -05:00
Max Howell d0648411ea Get minimum supported Swift version for CocoaPods 2019-02-13 15:47:40 -05:00
Max Howell e74cc63271 [ci skip] Fix publish release command 2019-02-13 15:27:06 -05:00
Max Howell 28f84d3961 Deploy needs Swift 5 2019-02-13 10:54:10 -05:00
Max Howell b65d167937 “Scriptify” deployment 2019-02-13 10:12:32 -05:00
Max Howell b7c189e6af These deployment versions are the defaults
Well, almost, but adjusted we still work so in fact the ”bump” was spurious.
2019-02-13 09:32:19 -05:00
Max Howell e68ad25cc0 [ci] Xcode 10.2 2019-02-12 15:23:27 -05:00
Max Howell c9d300a7b6 Path(_ url:) -> Path(url:) 2019-02-11 20:40:27 -05:00
Max Howell ed4b773870 Fill in this TODO in README
[skip ci]
2019-02-11 15:13:14 -05:00
Max Howell 097e020735 There are no usernames on iOS etc. 2019-02-11 15:11:22 -05:00
Max Howell be49fb9e49 Merge pull request #34 from mxcl/symlinks
Symlink funcs & support `NSURL` file-refs
2019-02-11 15:06:56 -05:00
Max Howell 164cd2b413 Fix iOS, etc. 2019-02-11 14:19:27 -05:00
Max Howell 709c3fb99d Symlink funcs & support NSURL file-refs
* Also removes most `NSString` usage
* Also does more thorough testing in some places
* Also adds
* Fixes `Path?(_:)` resolving symlinks in some cases
2019-02-11 14:04:06 -05:00
Max Howell 8469565b06 Bundle.privateFrameworks 2019-02-09 13:24:57 -05:00
Max Howell ed45d10179 Docs updates; CocoaPods 16.0 release; [ci skip] 2019-02-08 09:14:23 -05:00
Max Howell 8033ae49b4 Add [pathos]
[pathos]: https://github.com/dduan/Pathos

[skip ci]
2019-02-04 12:05:14 -05:00
Max Howell b290173486 Update travis scripts 2019-02-04 12:04:48 -05:00
Max Howell 8248354a80 Some documentation improvements 2019-02-01 15:18:15 -05:00
Max Howell 14963e48f5 Merge pull request #30 from mxcl/codecov
More coverage
2019-02-01 10:26:59 -05:00
Max Howell 7f5340bc19 More coverage
Though I can hardly test these functions, at least we can verify they run
without crashing etc.
2019-02-01 10:17:37 -05:00
Max Howell 74074c634f Merge pull request #29 from mxcl/codecov
More coverage
2019-01-31 21:33:50 -05:00
Max Howell 74656bbfcd More coverage 2019-01-31 21:17:37 -05:00
Max Howell cced2af2cd Merge pull request #28 from mxcl/codecov
More coverage
2019-01-31 19:17:43 -05:00
Max Howell b9abd07318 More coverage 2019-01-31 19:09:36 -05:00
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