Skip to content

Commit e03d741

Browse files
committed
Scan filesystem for all binaries to include in release archives
1 parent b0d0e35 commit e03d741

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pkg/archive/package.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mkdir -p \
1313
"$STAGING/bin/" \
1414
"$STAGING/share/doc/scarb/"
1515

16-
for crate in "scarb" "scarb-cairo-language-server"; do
16+
for crate in $(pkg/list-binaries.sh); do
1717
cp "target/$TARGET/release/${crate}${bin_ext}" "$STAGING/bin/"
1818
done
1919

pkg/list-binaries.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
echo "scarb"
5+
ls extensions

0 commit comments

Comments
 (0)