mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-14 16:27:15 +03:00
6b294bed81
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
9 lines
393 B
Bash
Executable File
9 lines
393 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
|
set -euxo pipefail
|
|
|
|
cp target/release/roc ./roc # to be able to exclude "target" later in the tar command
|
|
cp -r target/release/lib ./lib
|
|
tar -czvf $1 --exclude="target" --exclude="zig-cache" roc lib LICENSE LEGAL_DETAILS examples/helloWorld.roc examples/platform-switching examples/cli crates/roc_std
|