From 2f7652b979417f311af3e55e7e15a047c55db1bf Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Fri, 19 Apr 2024 10:45:28 -0400 Subject: [PATCH] build: add clean task to all libraries --- bdk-android/justfile | 6 ++++++ bdk-jvm/justfile | 6 ++++++ bdk-python/justfile | 6 ++++++ bdk-swift/justfile | 3 +++ 4 files changed, 21 insertions(+) diff --git a/bdk-android/justfile b/bdk-android/justfile index 9a5b111..4dd0b0b 100644 --- a/bdk-android/justfile +++ b/bdk-android/justfile @@ -9,3 +9,9 @@ build: publishlocal: ./gradlew publishToMavenLocal -P localBuild + +clean: + rm -rf ../bdk-ffi/target/ + rm -rf ./build/ + rm -rf ./lib/build/ + rm -rf ./plugins/build/ \ No newline at end of file diff --git a/bdk-jvm/justfile b/bdk-jvm/justfile index be6e851..93639c9 100644 --- a/bdk-jvm/justfile +++ b/bdk-jvm/justfile @@ -12,3 +12,9 @@ build: publishlocal: ./gradlew publishToMavenLocal -P localBuild + +clean: + rm -rf ../bdk-ffi/target/ + rm -rf ./build/ + rm -rf ./lib/build/ + rm -rf ./plugins/build/ diff --git a/bdk-python/justfile b/bdk-python/justfile index ed615d8..1892eb9 100644 --- a/bdk-python/justfile +++ b/bdk-python/justfile @@ -3,3 +3,9 @@ test: maclocalbuild: bash ./scripts/generate-macos-arm64.sh && python3 setup.py bdist_wheel --verbose + +clean: + rm -rf ../bdk-ffi/target/ + rm -rf ./bdkpython.egg-info/ + rm -rf ./build/ + rm -rf ./dist/ diff --git a/bdk-swift/justfile b/bdk-swift/justfile index f9885e4..63ba6e0 100644 --- a/bdk-swift/justfile +++ b/bdk-swift/justfile @@ -6,3 +6,6 @@ test: offlinetests: swift test --skip LiveWalletTests --skip LiveTxBuilderTests + +clean: + rm -rf ../bdk-ffi/target/