summaryrefslogtreecommitdiffstats
path: root/compile-all-targets.sh
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-12-16 17:22:52 +0100
committerCanop <cano.petrole@gmail.com>2021-12-16 17:22:52 +0100
commit5bf8703c14062d5a2134f57634248e49f4aff63f (patch)
treea13fec68ae966991ea8b154ce7e761bba078fe96 /compile-all-targets.sh
parent46fd10517d96676887754ebf80c74d80d39946a7 (diff)
version 1.7.5, making the "clipboard" feature non default againv1.7.5
Diffstat (limited to 'compile-all-targets.sh')
-rwxr-xr-xcompile-all-targets.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/compile-all-targets.sh b/compile-all-targets.sh
index f657a00..583d6b0 100755
--- a/compile-all-targets.sh
+++ b/compile-all-targets.sh
@@ -20,7 +20,7 @@ echo " build cleaned"
# build the linux version
echo -e "${H2}Compiling the linux version${EH}"
-cargo build --release
+cargo build --release --features "clipboard"
strip target/release/broot
mkdir build/x86_64-linux/
cp target/release/broot build/x86_64-linux/
@@ -47,26 +47,26 @@ echo " Done"
# build the windows version
# use cargo cross
echo -e "${H2}Compiling the Windows version${EH}"
-cross build --target x86_64-pc-windows-gnu --release
+cross build --target x86_64-pc-windows-gnu --release --features "clipboard"
mkdir build/x86_64-pc-windows-gnu
cp target/x86_64-pc-windows-gnu/release/broot.exe build/x86_64-pc-windows-gnu/
# build the Raspberry version
# use cargo cross
echo -e "${H2}Compiling the Raspberry version${EH}"
-cross build --target armv7-unknown-linux-gnueabihf --release --no-default-features
+cross build --target armv7-unknown-linux-gnueabihf --release
mkdir build/armv7-unknown-linux-gnueabihf
cp target/armv7-unknown-linux-gnueabihf/release/broot build/armv7-unknown-linux-gnueabihf/
# build the Android version
# use cargo cross
echo -e "${H2}Compiling the Android version${EH}"
-cross build --target aarch64-linux-android --release
+cross build --target aarch64-linux-android --release --features "clipboard"
mkdir build/aarch64-linux-android
cp target/aarch64-linux-android/release/broot build/aarch64-linux-android/
# build a musl version
echo -e "${H2}Compiling the MUSL version${EH}"
-cross build --release --target x86_64-unknown-linux-musl --no-default-features
+cross build --release --target x86_64-unknown-linux-musl
mkdir build/x86_64-unknown-linux-musl
cp target/x86_64-unknown-linux-musl/release/broot build/x86_64-unknown-linux-musl