Skip to content

Commit

Permalink
Clean up Hylo build directory (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpdemarco authored Oct 18, 2023
1 parent be9a14e commit d248b58
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hylo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,13 @@ mv .build/release/ce_temp_dir/* .build/release
# Note: No need to update rpath for `hc` itself, as it is already $ORIGIN by default.
rmdir .build/release/ce_temp_dir/

# Remove Swifty build artifacts not required to run
rm -rf .build/release/*.build
rm -rf .build/release/*.product
rm -rf .build/release/*.swiftdoc
rm -rf .build/release/*.swiftmodule
rm -rf .build/release/*.swiftsourceinfo
rm -rf .build/release/ModuleCache
rm .build/release/description.json

complete .build/release/ "hylo-${VERSION}" "${OUTPUT}"

0 comments on commit d248b58

Please sign in to comment.