-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
506 additions
and
103 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
SED := `command -v gsed || command -v sed` | ||
|
||
help: | ||
@just --list | ||
|
||
# git tasks to start next development version | ||
prepare-dev-version v: | ||
git checkout trunk | ||
{{SED}} -zE -i 's/(name = "bigdecimal"\nversion )= [^\n]*/\1= "{{v}}+dev"/' Cargo.toml Cargo.lock | ||
git add Cargo.toml Cargo.lock | ||
git commit -m 'Begin v{{v}} development' | ||
|
||
|
||
# git tasks to run to merge trunk into master | ||
prepare-release v: | ||
git checkout trunk | ||
cargo clippy | ||
{{SED}} -zE -i 's/(name = "bigdecimal"\nversion )= [^\n]*/\1= "{{v}}"/' Cargo.toml Cargo.lock | ||
git add Cargo.toml Cargo.lock | ||
git commit -m 'Version {{v}}' | ||
git checkout master | ||
git merge trunk --no-ff -m 'v{{v}}' | ||
# git tag 'v{{v}}' | ||
|
||
# enable and run benchmarks | ||
benchmark *args: | ||
scripts/benchmark-bigdecimal {{args}} | ||
|
||
# enable and run property-tests | ||
run-property-tests: | ||
scripts/bigdecimal-property-tests test | ||
|
||
|
||
# enable property test dependencies | ||
enable-property-tests: | ||
scripts/bigdecimal-property-tests enable | ||
|
||
|
||
# print decimals with various formatting rules | ||
run-formatting-example: | ||
cargo run --example formatting-examples | ||
|
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
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
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
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
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
Oops, something went wrong.