Skip to content

Commit ef3cd95

Browse files
committed
Initial commit
0 parents  commit ef3cd95

File tree

99 files changed

+7899
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+7899
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
/.build
3+
.swiftpm
4+
/*.xcodeproj
5+
xcuserdata/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 John Sundell
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Logo.png

14.9 KB
Loading

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
install:
2+
swift build -c release
3+
install .build/release/publish-cli /usr/local/bin/publish

Package.resolved

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// swift-tools-version:5.1
2+
3+
/**
4+
* Publish
5+
* Copyright (c) John Sundell 2019
6+
* MIT license, see LICENSE file for details
7+
*/
8+
9+
import PackageDescription
10+
11+
let package = Package(
12+
name: "Publish",
13+
products: [
14+
.library(name: "Publish", targets: ["Publish"]),
15+
.executable(name: "publish-cli", targets: ["PublishCLI"])
16+
],
17+
dependencies: [
18+
.package(url: "https://github.com/johnsundell/ink.git", from: "0.2.0"),
19+
.package(url: "https://github.com/johnsundell/plot.git", from: "0.3.0"),
20+
.package(url: "https://github.com/johnsundell/files.git", from: "4.0.0"),
21+
.package(url: "https://github.com/johnsundell/codextended.git", from: "0.1.0"),
22+
.package(url: "https://github.com/johnsundell/shellout.git", from: "2.2.0"),
23+
.package(url: "https://github.com/johnsundell/sweep.git", from: "0.3.0")
24+
],
25+
targets: [
26+
.target(
27+
name: "Publish",
28+
dependencies: [
29+
"Ink", "Plot", "Files", "Codextended", "ShellOut", "Sweep"
30+
]
31+
),
32+
.target(
33+
name: "PublishCLI",
34+
dependencies: ["PublishCLICore"]
35+
),
36+
.target(
37+
name: "PublishCLICore",
38+
dependencies: ["Publish"]
39+
),
40+
.testTarget(
41+
name: "PublishTests",
42+
dependencies: ["Publish", "PublishCLICore"]
43+
)
44+
]
45+
)

0 commit comments

Comments
 (0)