From 94e881b6897007f4cf8f09c00037e72b57b17cb2 Mon Sep 17 00:00:00 2001 From: Ondrej Rafaj Date: Tue, 8 May 2018 21:22:42 +0100 Subject: [PATCH] wip --- Tests/XMLCodingTests/XMLParsingTests.swift | 5 +++-- XMLParsing.podspec | 14 -------------- scripts/update.sh | 5 +++++ scripts/upgrade.sh | 6 ++++++ 4 files changed, 14 insertions(+), 16 deletions(-) delete mode 100644 XMLParsing.podspec create mode 100755 scripts/update.sh create mode 100755 scripts/upgrade.sh diff --git a/Tests/XMLCodingTests/XMLParsingTests.swift b/Tests/XMLCodingTests/XMLParsingTests.swift index 1d33147..29936bd 100644 --- a/Tests/XMLCodingTests/XMLParsingTests.swift +++ b/Tests/XMLCodingTests/XMLParsingTests.swift @@ -1,12 +1,13 @@ import XCTest -@testable import XMLParsing +@testable import XMLCoding + class XMLParsingTests: XCTestCase { func testExample() { // This is an example of a functional test case. // Use XCTAssert and related functions to verify your tests produce the correct // results. - XCTAssertEqual(XMLParsing().text, "Hello, World!") +// XCTAssertEqual(XMLParsing().text, "Hello, World!") } diff --git a/XMLParsing.podspec b/XMLParsing.podspec deleted file mode 100644 index df2147e..0000000 --- a/XMLParsing.podspec +++ /dev/null @@ -1,14 +0,0 @@ -Pod::Spec.new do |s| - s.name = "XMLParsing" - s.version = "0.0.1" - s.summary = "XMLEncoder & XMLDecoder using the Codable protocol in Swift 4" - s.description = "XMLParsing allows Swift 4 Codable-conforming objects to be translated to and from XML" - s.homepage = "https://github.com/ShawnMoore/XMLParsing" - s.license = { :type => "MIT", :file => "LICENSE" } - s.author = { "Shawn Moore" => "sm5@me.com" } - s.ios.deployment_target = "10.0" - s.osx.deployment_target = "10.12" - s.source = { :git => "https://github.com/ShawnMoore/XMLParsing.git", :tag => s.version.to_s } - s.source_files = "Sources/XMLParsing/**/*.swift" - s.requires_arc = true -end \ No newline at end of file diff --git a/scripts/update.sh b/scripts/update.sh new file mode 100755 index 0000000..c254080 --- /dev/null +++ b/scripts/update.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +rm -rf .build +vapor clean -y --verbose +vapor xcode -n --verbose diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh new file mode 100755 index 0000000..6a98522 --- /dev/null +++ b/scripts/upgrade.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +rm -rf .build +vapor clean -y --verbose +rm Package.resolved +vapor xcode -n --verbose