Skip to content

Commit

Permalink
fixed Rakefile and Mac/install.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
KojiNakamaru committed Aug 8, 2016
1 parent e3728f6 commit 3b7a4e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ desc "pack"
task :pack do
sh "#{UNITY}/MacOS/Unity -projectPath `pwd`/Packager -batchmode -quit -executeMethod Packager.Export"
FileUtils.mv "Packager/unity-webview.unitypackage", "../dist"
sh "(cd Packager; zip -qr9 ../../dist/unity-webview.zip `find Assets/Plugins -type f`)"
sh "(cd Packager; rm -f ../../dist/unity-webview.zip; zip -qr9 ../../dist/unity-webview.zip `find Assets/Plugins -type f`)"
end

desc "commit"
Expand Down
2 changes: 1 addition & 1 deletion plugins/Mac/install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
DSTDIR="../../build/Packager/Assets/Plugins/x86_64"
DSTDIR="../../build/Packager/Assets/Plugins"
rm -rf DerivedData
xcodebuild -scheme WebView -configuration Release -arch i386 -arch x86_64 build CONFIGURATION_BUILD_DIR='DerivedData'
mkdir -p $DSTDIR
Expand Down

0 comments on commit 3b7a4e0

Please sign in to comment.