Use buck release for csharp/build-native.sh
Summary: Closes https://github.com/facebook/yoga/pull/553 Differential Revision: D5069363 Pulled By: emilsjolander fbshipit-source-id: 2a88f0f53147b5abf1d4eb26f05108c2c001a8f5
This commit is contained in:
committed by
Facebook Github Bot
parent
9cdaedfcb5
commit
52ce5828c9
3
csharp/.gitignore
vendored
3
csharp/.gitignore
vendored
@@ -267,3 +267,6 @@ paket-files/
|
|||||||
# Python Tools for Visual Studio (PTVS)
|
# Python Tools for Visual Studio (PTVS)
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
|
|
||||||
|
# local buck build
|
||||||
|
lib/
|
||||||
|
@@ -267,3 +267,6 @@ paket-files/
|
|||||||
# Python Tools for Visual Studio (PTVS)
|
# Python Tools for Visual Studio (PTVS)
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
|
|
||||||
|
# local buck build
|
||||||
|
lib/
|
||||||
|
@@ -1,17 +1,25 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd `dirname "$0"`
|
||||||
echo $ANDROID_SDK
|
echo $ANDROID_SDK
|
||||||
if buck --version >/dev/null 2>&1; then true; else
|
BUCK_RELEASE=2017.05.09.01
|
||||||
|
echo "buck $BUCK_RELEASE"
|
||||||
|
BUCK=lib/buck-$BUCK_RELEASE/bin/buck
|
||||||
|
if $BUCK --version >/dev/null 2>&1; then true; else
|
||||||
echo "Building Buck!"
|
echo "Building Buck!"
|
||||||
mkdir lib
|
BUCK_PATH=buck-$BUCK_RELEASE
|
||||||
|
mkdir -p lib
|
||||||
cd lib
|
cd lib
|
||||||
git clone https://github.com/facebook/buck.git --depth 1
|
rm -f $BUCK_PATH.tar.gz
|
||||||
cd buck
|
curl -O -J -L https://github.com/facebook/buck/archive/v$BUCK_RELEASE.tar.gz
|
||||||
|
tar xzf $BUCK_PATH.tar.gz
|
||||||
|
cd $BUCK_PATH
|
||||||
ant
|
ant
|
||||||
cd ..
|
cd ../..
|
||||||
cd ..
|
|
||||||
fi
|
fi
|
||||||
buck build //:yoga
|
|
||||||
buck build //csharp:yoganet-ios
|
$BUCK build \
|
||||||
buck build //csharp:yoganet-macosx
|
//csharp:yoganet-ios \
|
||||||
buck build //csharp:yoganet#android-x86,shared
|
//csharp:yoganet-macosx \
|
||||||
buck build //csharp:yoganet#android-armv7,shared
|
//csharp:yoganet#android-armv7,shared \
|
||||||
|
//csharp:yoganet#android-x86,shared
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user