Commit e70a4a4 1 parent 31407a4 commit e70a4a4 Copy full SHA for e70a4a4
File tree 2 files changed +11
-17
lines changed
cmd/soroban-cli/src/commands/contract
2 files changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -24,36 +24,30 @@ ifeq ($(shell uname -s),Darwin)
24
24
MACOS_MIN_VER = -ldflags='-extldflags -mmacosx-version-min=13.0'
25
25
endif
26
26
27
- # update the Cargo.lock every time the Cargo.toml changes.
28
- Cargo.lock : Cargo.toml
29
- cargo update --workspace
27
+ install_rust : install
30
28
31
- install_rust : Cargo.lock
32
- cargo install --path ./cmd/soroban-cli --debug
33
- cargo install --path ./cmd/crates/soroban-test/tests/fixtures/hello --root ./target --debug --quiet
34
-
35
- install : install_rust
36
-
37
- build_rust : Cargo.lock
38
- cargo build
29
+ install :
30
+ cargo install --locked --path ./cmd/soroban-cli --debug
31
+ cargo install --locked --path ./cmd/crates/soroban-test/tests/fixtures/hello --root ./target --debug --quiet
39
32
40
33
# regenerate the example lib in `cmd/crates/soroban-spec-typsecript/fixtures/ts`
41
34
build-snapshot : typescript-bindings-fixtures
42
35
43
- build : build_rust
36
+ build :
37
+ cargo build
44
38
45
- build-test-wasms : Cargo.lock
39
+ build-test-wasms :
46
40
cargo build --package ' test_*' --profile test-wasms --target wasm32-unknown-unknown
47
41
48
- build-test : build-test-wasms install_rust
42
+ build-test : build-test-wasms install
49
43
50
44
test : build-test
51
- cargo test
45
+ cargo test
52
46
53
47
e2e-test :
54
48
cargo test --test it -- --ignored
55
49
56
- check : Cargo.lock
50
+ check :
57
51
cargo clippy --all-targets
58
52
59
53
watch :
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub enum Error {
23
23
#[ error( "optimization error: {0}" ) ]
24
24
OptimizationError ( OptimizationError ) ,
25
25
#[ cfg( not( feature = "opt" ) ) ]
26
- #[ error( "Must install with \" opt\" feature, e.g. `cargo install soroban-cli --features opt" ) ]
26
+ #[ error( "Must install with \" opt\" feature, e.g. `cargo install --locked soroban-cli --features opt" ) ]
27
27
Install ,
28
28
}
29
29
You can’t perform that action at this time.
0 commit comments