Skip to content

Commit

Permalink
Add helper script to cleanup build artifacts. (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhartnett authored Jun 13, 2024
1 parent a84cf5b commit e36f454
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions scripts/clean_build_artifacts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

# Nim-RocksDB
# Copyright 2018-2024 Status Research & Development GmbH
# Licensed under either of
#
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
# * GPL license, version 2.0, ([LICENSE-GPLv2](LICENSE-GPLv2) or https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
#
# at your option. This file may not be copied, modified, or distributed except according to those terms.

set -e

cd "$(dirname "${BASH_SOURCE[0]}")"/..

rm -rf build
make -C vendor/rocksdb clean

git submodule foreach --recursive git clean -fdx

0 comments on commit e36f454

Please sign in to comment.