Skip to content

Commit

Permalink
Improve publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Aug 13, 2018
1 parent 4d48740 commit 7751994
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IBLinter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Pod::Spec.new do |s|
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Yuta Saito' => 'kateinoigakukun@gmail.com' }
s.source = { :http => "#{s.homepage}/releases/download/#{s.version}/portable_iblinter.zip" }
s.preserve_paths = 'bin/*', 'lib/*'
s.preserve_paths = '*'
end
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ portable_zip: build
mkdir portable_iblinter
mkdir portable_iblinter/lib
mkdir portable_iblinter/bin
cp -f .build/release/iblinter portable_iblinter/bin
cp -f .build/release/main portable_iblinter/bin/iblinter
cp -rf $(C_LIB_DIRS) $(SWIFT_LIB_FILES) "portable_iblinter/lib"
cp -f LICENSE portable_iblinter
zip -yr - portable_iblinter > "./portable_iblinter.zip"
cd portable_iblinter
(cd portable_iblinter; zip -yr - "lib" "bin" "LICENSE") > "./portable_iblinter.zip"
rm -rf portable_iblinter

install: build
Expand Down

0 comments on commit 7751994

Please sign in to comment.