Skip to content

Commit

Permalink
Create cleanup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
martadinata666 committed Nov 28, 2023
1 parent 9bd0f19 commit 93f686e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cleanup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
# https://github.com/roylez/huginn/commit/55eac40d1c27d68aa7fad4bb755281a9bc044d49
set -eux

rm -rf vendor/bundle/ruby/3.2.0/cache/*.gem && \
find vendor/bundle/ruby/3.2.0/gems/ -name "*.c" -delete && \
find vendor/bundle/ruby/3.2.0/gems/ -name "*.o" -delete && \
rm -rf vendor/bundle/ruby/3.2.0/gems/grpc-*/include && \
rm -rf vendor/bundle/ruby/3.2.0/gems/grpc-*/third_party && \
rm -rf vendor/bundle/ruby/3.2.0/gems/grpc-*/src/core && \
rm -rf vendor/bundle/ruby/3.2.0/gems/grpc-*/src/ruby/ext

0 comments on commit 93f686e

Please sign in to comment.