We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e03d741 commit 717be37Copy full SHA for 717be37
pkg/archive/package.sh
@@ -4,20 +4,21 @@ set -euxo pipefail
4
TARGET="$1"
5
STAGING="$2"
6
7
+rm -rf "$STAGING"
8
mkdir -p "$STAGING"
9
10
bin_ext=""
11
[[ "$TARGET" == *-windows-* ]] && bin_ext=".exe"
12
13
mkdir -p \
14
"$STAGING/bin/" \
- "$STAGING/share/doc/scarb/"
15
+ "$STAGING/doc/"
16
17
for crate in $(pkg/list-binaries.sh); do
18
cp "target/$TARGET/release/${crate}${bin_ext}" "$STAGING/bin/"
19
done
20
-cp -r README.md LICENSE "$STAGING/share/doc/scarb/"
21
+cp -r README.md LICENSE "$STAGING/doc/"
22
23
if [[ "$TARGET" == *-windows-* ]]; then
24
7z a "${STAGING}.zip" "$STAGING"
0 commit comments