Skip to content

Commit

Permalink
Remove dylib from zip
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Apr 3, 2019
1 parent 8b5d9d9 commit ff84eee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
PREFIX?=/usr/local
SWIFT_LIB_FILES = .build/release/libIBLinter.dylib .build/release/*.swiftmodule
C_LIB_DIRS = .build/release/CYaml.build .build/release/Clang_C.build .build/release/SourceKit.build

build:
swift build --disable-sandbox -c release --static-swift-stdlib
Expand All @@ -12,13 +10,11 @@ clean_build:
portable_zip: build
rm -rf portable_iblinter
mkdir portable_iblinter
mkdir portable_iblinter/lib
mkdir portable_iblinter/bin
cp -f .build/release/iblinter portable_iblinter/bin/iblinter
cp -rf $(C_LIB_DIRS) $(SWIFT_LIB_FILES) "portable_iblinter/lib"
cp -f LICENSE portable_iblinter
cd portable_iblinter
(cd portable_iblinter; zip -yr - "lib" "bin" "LICENSE") > "./portable_iblinter.zip"
(cd portable_iblinter; zip -yr - "bin" "LICENSE") > "./portable_iblinter.zip"
rm -rf portable_iblinter

install: build
Expand Down

0 comments on commit ff84eee

Please sign in to comment.