Skip to content

Commit

Permalink
Update README.md (#182)
Browse files Browse the repository at this point in the history
* update template branch

* Update README.md

* bump dependencies + version

* fix linking fails due to now-missing libswiftXCTest
  • Loading branch information
miguelangel-dev authored Nov 2, 2021
1 parent 788d47c commit 69e878e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SHELL = /bin/bash
TOOL_NAME = nef

prefix ?= /usr/local
version ?= 0.6.2
version ?= 0.7.0

BUILD_PATH = /tmp/$(TOOL_NAME)/$(version)
PREFIX_BIN = $(prefix)/bin
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,12 @@ extension Package.Dependency {
#if os(Linux)
return [
.package(name: "Bow", url: "https://github.com/bow-swift/bow.git", .exact("0.8.0")),
.package(url: "https://github.com/bow-swift/Swiftline.git", .exact("0.5.5")),
.package(url: "https://github.com/bow-swift/Swiftline.git", .exact("0.5.6")),
]
#else
return [
.package(name: "Bow", url: "https://github.com/bow-swift/bow.git", .exact("0.8.0")),
.package(url: "https://github.com/bow-swift/Swiftline.git", .exact("0.5.5")),
.package(url: "https://github.com/bow-swift/Swiftline.git", .exact("0.5.6")),
.package(url: "https://github.com/apple/swift-argument-parser", .exact("0.2.1")),
]
#endif
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ For further information, refer to our [Contribution guidelines](CONTRIBUTING.md)

# ⚖️ License

Copyright (C) 2019-2020 The nef Authors
Copyright (C) 2019-2021 The nef Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions project/Component/nef/Instances/MacCompilerShell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ final class MacCompilerShell: CompilerShell {
let xlinkers = options.workspace.linkers.flatMap { linker in ["-Xlinker", linker.path] }
let linkLibs = options.workspace.libs.flatMap { lib in ["-L", lib.path] }
let sourcesPaths = options.sources.map { (source: URL) in source.path }
let linkSwiftCore = options.workspace.platform == .ios ? ["-lswiftXCTest", "-lXCTestSwiftSupport"]
: ["-lswiftCore", "-lswiftXCTest", "-lXCTestSwiftSupport"]
let linkSwiftCore = options.workspace.platform == .ios ? ["-lXCTestSwiftSupport"]
: ["-lswiftCore", "-lXCTestSwiftSupport"]

let args = ["-k"] // invalidate all existing cache entries
.append("-sdk").append(sdk) // find the tool for the given SDK name
Expand Down
2 changes: 1 addition & 1 deletion project/Component/nef/Utils/BuildConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import Foundation

internal enum BuildConfiguration {
static let buildVersion = "0.7.0"
static let templateVersion = "develop"
static let templateVersion = "0.7.0"
}
2 changes: 1 addition & 1 deletion project/Core/Support Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2019 The nef Authors.</string>
<string>Copyright © 2019-2021 The nef Authors.</string>
</dict>
</plist>
3 changes: 2 additions & 1 deletion project/UI/Nef/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public struct VersionCommand: ParsableCommand {
public static var commandName: String = "version"
public static var configuration = CommandConfiguration(
commandName: commandName,
abstract: "Get the build version number")
abstract: "Get the build version number"
)

public init() {}

Expand Down

0 comments on commit 69e878e

Please sign in to comment.