mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
simplify removal of unnecessary files
This commit is contained in:
parent
e643bdd9d4
commit
520db5765f
@ -6,14 +6,7 @@ set -euxo pipefail
|
||||
cp target/release/roc ./roc # to be able to delete "target" later
|
||||
|
||||
# delete unnecessary files and folders
|
||||
find . -name "target" -depth -type d -exec rm -rf {} \;
|
||||
find . -name "zig-cache" -depth -type d -exec rm -rf {} \;
|
||||
|
||||
find . -name "*.o" -exec rm -rf {} \;
|
||||
find . -name "*.rh1" -exec rm -rf {} \;
|
||||
find . -name "*.rm1" -exec rm -rf {} \;
|
||||
|
||||
fd --type executable . './examples' -X rm
|
||||
git clean -fdx --exclude roc
|
||||
|
||||
mkdir $1
|
||||
tar -czvf "$1.tar.gz" roc LICENSE LEGAL_DETAILS examples/helloWorld.roc examples/platform-switching examples/cli crates/roc_std crates/compiler/builtins/bitcode/src
|
||||
|
Loading…
Reference in New Issue
Block a user