Skip to content

Commit

Permalink
Drop Xcode 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mono0926 committed Oct 12, 2020
1 parent 6130736 commit 82dd1a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ TEMPORARY_FOLDER=./tmp_portable_licenseplist
build:
swift build --disable-sandbox -c release

# For CocoaPods distribution
# Works only on Xcode 10.1(Swift 4.2) or earlier
build_legacy:
swift build --disable-sandbox -c release -Xswiftc -static-stdlib

test:
swift test

Expand All @@ -26,7 +21,7 @@ install: build
mkdir -p "$(PREFIX)/bin"
cp -f ".build/release/license-plist" "$(PREFIX)/bin/license-plist"

portable_zip: build_legacy
portable_zip: build
mkdir -p "$(TEMPORARY_FOLDER)"
cp -f ".build/release/license-plist" "$(TEMPORARY_FOLDER)/license-plist"
cp -f "LICENSE" "$(TEMPORARY_FOLDER)"
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ github-release upload \
rm $lib_name.zip

# CocoaPods
DEVELOPER_DIR=/Applications/Xcode-10.1.app/Contents/Developer make portable_zip
make portable_zip
portable_zip_name="portable_licenseplist.zip"
github-release upload \
--user mono0926 \
Expand Down

0 comments on commit 82dd1a5

Please sign in to comment.