mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 23:37:56 +03:00
8 lines
358 B
Bash
Executable File
8 lines
358 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
|
|
tar -czvf $1 --exclude="target" --exclude="zig-cache" roc LICENSE LEGAL_DETAILS examples/helloWorld.roc examples/platform-switching examples/cli crates/roc_std
|