Commit 6464994e authored by nanahira's avatar nanahira

addsudo

parent 4a9aeea7
...@@ -49,8 +49,8 @@ before_install: ...@@ -49,8 +49,8 @@ before_install:
curl --location --retry 5 https://github.com/moecube/ygopro/raw/master/premake/irrlicht/irrlicht-mac.patch | patch -p1; curl --location --retry 5 https://github.com/moecube/ygopro/raw/master/premake/irrlicht/irrlicht-mac.patch | patch -p1;
cd source/Irrlicht/MacOSX/; cd source/Irrlicht/MacOSX/;
xcodebuild -project MacOSX.xcodeproj > /dev/null; xcodebuild -project MacOSX.xcodeproj > /dev/null;
cp build/Release/libIrrlicht.a /usr/local/lib/; sudo cp build/Release/libIrrlicht.a /usr/local/lib/;
cp -rf ../../../include /usr/local/include/irrlicht; sudo cp -rf ../../../include /usr/local/include/irrlicht;
cd ../../../../; cd ../../../../;
fi fi
...@@ -58,12 +58,12 @@ before_install: ...@@ -58,12 +58,12 @@ before_install:
- unzip -q irrKlang-32bit-1.5.0.zip - unzip -q irrKlang-32bit-1.5.0.zip
- cp -rf irrKlang-1.5.0/include /usr/local/include/irrKlang - cp -rf irrKlang-1.5.0/include /usr/local/include/irrKlang
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cp -rf irrKlang-1.5.0/bin/macosx-gcc/*.dylib /usr/local/lib/; sudo cp -rf irrKlang-1.5.0/bin/macosx-gcc/*.dylib /usr/local/lib/;
cp -rf irrKlang-1.5.0/bin/macosx-gcc/*.dylib .; sudo cp -rf irrKlang-1.5.0/bin/macosx-gcc/*.dylib .;
fi fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
cp -rf irrKlang-1.5.0/bin/linux-gcc/*.so /usr/local/lib/; sudo cp -rf irrKlang-1.5.0/bin/linux-gcc/*.so /usr/local/lib/;
cp -rf irrKlang-1.5.0/bin/linux-gcc/*.so .; sudo cp -rf irrKlang-1.5.0/bin/linux-gcc/*.so .;
fi fi
script: script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment