Skip to content

Commit

Permalink
Merge pull request #307 from bcressey/fix-go-purge-vendor
Browse files Browse the repository at this point in the history
twoliter: fix purge-go-vendor task
  • Loading branch information
bcressey authored Jun 19, 2024
2 parents bdd4674 + 202e5bd commit 3753b78
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions twoliter/embedded/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1742,10 +1742,12 @@ dependencies = [
[tasks.purge-go-vendor]
script_runner = "bash"
script = [
'''
chmod -R 755 ${GO_MOD_CACHE}
rm -rf ${GO_MOD_CACHE}
'''
'''
if [ -d "${GO_MOD_CACHE}" ] ; then
chmod -R 755 "${GO_MOD_CACHE}"
rm -rf "${GO_MOD_CACHE}"
fi
'''
]

# This task will remove all the cached Rust code found in the cargo home dir
Expand Down

0 comments on commit 3753b78

Please sign in to comment.