mirror of
https://github.com/trafi/maybe-result-cpp
synced 2024-11-26 04:26:06 +01:00
Include optional tarbal for tests.
This commit is contained in:
parent
938ae09f92
commit
f41e0e0f67
BIN
dev/optional.tar.gz
Normal file
BIN
dev/optional.tar.gz
Normal file
Binary file not shown.
@ -7,7 +7,7 @@ mkdir -p /tmp/build
|
|||||||
cd /tmp/build
|
cd /tmp/build
|
||||||
if [ ! -d "optional" ]; then
|
if [ ! -d "optional" ]; then
|
||||||
mkdir -p optional
|
mkdir -p optional
|
||||||
curl -Ls https://api.github.com/repos/akrzemi1/Optional/tarball | tar --strip-components=1 -xz -C optional
|
tar --strip-components=1 -xzf /opt/dev/optional.tar.gz -C optional
|
||||||
fi
|
fi
|
||||||
cmake -DEXPERIMENTAL_OPTIONAL_INCLUDE=/tmp/build/optional ${SRC}
|
cmake -DEXPERIMENTAL_OPTIONAL_INCLUDE=/tmp/build/optional ${SRC}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ mkdir -p /tmp/build
|
|||||||
cd /tmp/build
|
cd /tmp/build
|
||||||
if [ ! -d "optional" ]; then
|
if [ ! -d "optional" ]; then
|
||||||
mkdir -p optional
|
mkdir -p optional
|
||||||
curl -Ls https://api.github.com/repos/akrzemi1/Optional/tarball | tar --strip-components=1 -xz -C optional
|
tar --strip-components=1 -xzf ${SRC}/dev/optional.tar.gz -C optional
|
||||||
fi
|
fi
|
||||||
cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER -DEXPERIMENTAL_OPTIONAL_INCLUDE=/tmp/build/optional ${SRC}
|
cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER -DEXPERIMENTAL_OPTIONAL_INCLUDE=/tmp/build/optional ${SRC}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user