File tree 1 file changed +25
-2
lines changed
1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 1
1
2
+ SED := ` command -v gsed || command -v sed `
3
+
4
+ help :
5
+ @ just --list
6
+
2
7
# git tasks to start next development version
3
8
prepare-dev-version v :
4
9
git checkout trunk
5
- gsed -zE -i ' s/(name = "bigdecimal"\nversion )= [^\n]*/\1= "{{ v}} +dev"/' Cargo.toml Cargo.lock
10
+ {{ SED }} -zE -i ' s/(name = "bigdecimal"\nversion )= [^\n]*/\1= "{{ v}} +dev"/' Cargo.toml Cargo.lock
6
11
git add Cargo.toml Cargo.lock
7
12
git commit -m ' Begin v{{ v}} development'
8
13
@@ -11,10 +16,28 @@ prepare-dev-version v:
11
16
prepare-release v :
12
17
git checkout trunk
13
18
cargo clippy
14
- gsed -zE -i ' s/(name = "bigdecimal"\nversion )= [^\n]*/\1= "{{ v}} "/' Cargo.toml Cargo.lock
19
+ {{ SED }} -zE -i ' s/(name = "bigdecimal"\nversion )= [^\n]*/\1= "{{ v}} "/' Cargo.toml Cargo.lock
15
20
git add Cargo.toml Cargo.lock
16
21
git commit -m ' Version {{ v}} '
17
22
git checkout master
18
23
git merge trunk --no-ff -m ' v{{ v}} '
19
24
# git tag 'v{{v}}'
20
25
26
+ # enable and run benchmarks
27
+ benchmark * args :
28
+ scripts/ benchmark-bigdecimal {{ args}}
29
+
30
+ # enable and run property-tests
31
+ run-property-tests :
32
+ scripts/ bigdecimal-property-tests test
33
+
34
+
35
+ # enable property test dependencies
36
+ enable-property-tests :
37
+ scripts/ bigdecimal-property-tests enable
38
+
39
+
40
+ # print decimals with various formatting rules
41
+ run-formatting-example :
42
+ cargo run --example formatting-examples
43
+
You can’t perform that action at this time.
0 commit comments