chore: add just files to streamline common tasks

This commit is contained in:
thunderbiscuit 2024-03-27 11:35:17 -04:00
parent 896303f487
commit 267685bd58
No known key found for this signature in database
GPG Key ID: 88253696EB836462
5 changed files with 40 additions and 0 deletions

11
bdk-android/justfile Normal file
View File

@ -0,0 +1,11 @@
test:
./gradlew connectedAndroidTest
onetest TEST:
./gradlew test --tests {{TEST}}
build:
./gradlew buildAndroidLib
publishlocal:
./gradlew publishToMavenLocal --exclude-task signMavenPublication

2
bdk-ffi/justfile Normal file
View File

@ -0,0 +1,2 @@
test:
cargo test --lib

14
bdk-jvm/justfile Normal file
View File

@ -0,0 +1,14 @@
test:
./gradlew test
offlinetests:
./gradlew test -P excludeConnectedTests
onetest TEST:
./gradlew test --tests {{TEST}}
build:
./gradlew buildJvmLib
publishlocal:
./gradlew publishToMavenLocal --exclude-task signMavenPublication

5
bdk-python/justfile Normal file
View File

@ -0,0 +1,5 @@
test:
python -m unittest --verbose
maclocalbuild:
bash ./scripts/generate-macos-arm64.sh && python3 setup.py bdist_wheel --verbose

8
bdk-swift/justfile Normal file
View File

@ -0,0 +1,8 @@
build:
bash ./build-local-swift.sh
test:
swift test
offlinetests:
swift test --skip LiveWalletTests --skip LiveTxBuilderTests