mirror of
https://github.com/gosticks/SwiftGit2.git
synced 2025-10-16 11:55:34 +00:00
Clean up script indentation
This commit is contained in:
parent
778cf2b52e
commit
6ba47e317d
@ -129,7 +129,7 @@ build_scheme ()
|
|||||||
if [ "$awkstatus" -eq "1" ]
|
if [ "$awkstatus" -eq "1" ]
|
||||||
then
|
then
|
||||||
# SDK not found, try for iphonesimulator.
|
# SDK not found, try for iphonesimulator.
|
||||||
sdkflags=(-sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 5")
|
sdkflags=(-sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 5")
|
||||||
|
|
||||||
# Determine whether the unit tests will run with iphonesimulator
|
# Determine whether the unit tests will run with iphonesimulator
|
||||||
run_xctool "${sdkflags[@]}" -scheme "$scheme" run-tests | parse_build
|
run_xctool "${sdkflags[@]}" -scheme "$scheme" run-tests | parse_build
|
||||||
@ -139,7 +139,7 @@ build_scheme ()
|
|||||||
if [ "$awkstatus" -ne "0" ]
|
if [ "$awkstatus" -ne "0" ]
|
||||||
then
|
then
|
||||||
# Unit tests will not run on iphonesimulator.
|
# Unit tests will not run on iphonesimulator.
|
||||||
sdkflags=()
|
sdkflags=()
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -23,10 +23,10 @@ mkdir build
|
|||||||
cd build
|
cd build
|
||||||
|
|
||||||
cmake -DBUILD_SHARED_LIBS:BOOL=OFF \
|
cmake -DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||||
-DLIBSSH2_INCLUDE_DIRS:PATH=/usr/local/include/ \
|
-DLIBSSH2_INCLUDE_DIRS:PATH=/usr/local/include/ \
|
||||||
-DBUILD_CLAR:BOOL=OFF \
|
-DBUILD_CLAR:BOOL=OFF \
|
||||||
-DTHREADSAFE:BOOL=ON \
|
-DTHREADSAFE:BOOL=ON \
|
||||||
..
|
..
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
product="libgit2.a"
|
product="libgit2.a"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user