Add helper script to cleanup build artifacts. (#47)
This commit is contained in:
parent
a84cf5b896
commit
e36f454cd4
|
@ -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
|
Loading…
Reference in New Issue