-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: standardize justfile task names and parameters across projects
- Loading branch information
Showing
5 changed files
with
48 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
test: | ||
./gradlew connectedAndroidTest | ||
|
||
onetest TEST: | ||
./gradlew test --tests {{TEST}} | ||
default: | ||
just --list | ||
|
||
build: | ||
./gradlew buildAndroidLib | ||
|
||
publishlocal: | ||
./gradlew publishToMavenLocal -P localBuild | ||
|
||
clean: | ||
rm -rf ../bdk-ffi/target/ | ||
rm -rf ./build/ | ||
rm -rf ./lib/build/ | ||
rm -rf ./plugins/build/ | ||
rm -rf ./plugins/build/ | ||
|
||
publish-local: | ||
./gradlew publishToMavenLocal -P localBuild | ||
|
||
test: | ||
./gradlew connectedAndroidTest | ||
|
||
test-specific TEST: | ||
./gradlew test --tests {{TEST}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
default: | ||
just --list | ||
|
||
build: | ||
cargo build | ||
|
||
test: | ||
cargo test --lib | ||
|
||
check: | ||
cargo fmt | ||
cargo clippy | ||
cargo fmt | ||
cargo clippy | ||
|
||
test: | ||
cargo test --lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
test: | ||
./gradlew test | ||
|
||
offlinetests: | ||
./gradlew test -P excludeConnectedTests | ||
|
||
onetest TEST: | ||
./gradlew test --tests {{TEST}} | ||
default: | ||
just --list | ||
|
||
build: | ||
./gradlew buildJvmLib | ||
|
||
publishlocal: | ||
./gradlew publishToMavenLocal -P localBuild | ||
|
||
clean: | ||
rm -rf ../bdk-ffi/target/ | ||
rm -rf ./build/ | ||
rm -rf ./lib/build/ | ||
rm -rf ./plugins/build/ | ||
|
||
publish-local: | ||
./gradlew publishToMavenLocal -P localBuild | ||
|
||
test: | ||
./gradlew test | ||
|
||
test-offline: | ||
./gradlew test -P excludeConnectedTests | ||
|
||
test-specific TEST: | ||
./gradlew test --tests {{TEST}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
test: | ||
python3 -m unittest --verbose | ||
default: | ||
just --list | ||
|
||
maclocalbuild: | ||
build-local-mac: | ||
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/ | ||
|
||
test: | ||
python3 -m unittest --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
default: | ||
just --list | ||
|
||
build: | ||
bash ./build-local-swift.sh | ||
|
||
clean: | ||
rm -rf ../bdk-ffi/target/ | ||
|
||
test: | ||
swift test | ||
|
||
offlinetests: | ||
swift test --skip LiveWalletTests --skip LiveTxBuilderTests | ||
|
||
clean: | ||
rm -rf ../bdk-ffi/target/ | ||
test-offline: | ||
swift test --skip LiveWalletTests --skip LiveTxBuilderTests |