Skip to content

Commit 318b988

Browse files
committed
use default path for program binaries
1 parent f3e8e8d commit 318b988

File tree

15 files changed

+30
-30
lines changed

15 files changed

+30
-30
lines changed

basics/account-data/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts",
55
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
6-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
7-
"deploy": "solana program deploy ./program/target/so/program.so"
6+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
7+
"deploy": "solana program deploy ./program/target/deploy/*.so"
88
},
99
"dependencies": {
1010
"@solana/web3.js": "^1.47.3",

basics/checking-accounts/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts",
55
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
6-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
7-
"deploy": "solana program deploy ./program/target/so/program.so"
6+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
7+
"deploy": "solana program deploy ./program/target/deploy/*.so"
88
},
99
"dependencies": {
1010
"@solana/web3.js": "^1.47.3"

basics/close-account/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"test": "pnpm ts-mocha -p ./tests/tsconfig.test.json -t 1000000 ./tests/close-account.test.ts",
55
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
6-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
7-
"deploy": "solana program deploy ./program/target/so/program.so"
6+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
7+
"deploy": "solana program deploy ./program/target/deploy/*.so"
88
},
99
"dependencies": {
1010
"@solana/web3.js": "^1.35"

basics/counter/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"scripts": {
1111
"test": "pnpm ts-mocha -p ./tests/tsconfig.test.json -t 1000000 ./tests/counter.test.ts",
1212
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
13-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
14-
"deploy": "solana program deploy ./program/target/so/program.so"
13+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
14+
"deploy": "solana program deploy ./program/target/deploy/*.so"
1515
},
1616
"devDependencies": {
1717
"@types/bn.js": "^5.1.0",

basics/create-account/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts",
55
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
6-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
7-
"deploy": "solana program deploy ./program/target/so/program.so"
6+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
7+
"deploy": "solana program deploy ./program/target/deploy/*.so"
88
},
99
"dependencies": {
1010
"@solana/web3.js": "^1.47.3"

basics/favorites/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts",
55
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
6-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
7-
"deploy": "solana program deploy ./program/target/so/program.so"
6+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
7+
"deploy": "solana program deploy ./program/target/deploy/*.so"
88
},
99
"dependencies": {
1010
"@solana/web3.js": "^1.47.3",

basics/pda-rent-payer/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts",
55
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
6-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
7-
"deploy": "solana program deploy ./program/target/so/program.so"
6+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
7+
"deploy": "solana program deploy ./program/target/deploy/*.so"
88
},
99
"dependencies": {
1010
"@solana/web3.js": "^1.47.3"

basics/processing-instructions/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts",
55
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
6-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
7-
"deploy": "solana program deploy ./program/target/so/program.so"
6+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
7+
"deploy": "solana program deploy ./program/target/deploy/*.so"
88
},
99
"dependencies": {
1010
"@solana/web3.js": "^1.47.3"

basics/program-derived-addresses/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts",
55
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
6-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
7-
"deploy": "solana program deploy ./program/target/so/program.so"
6+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
7+
"deploy": "solana program deploy ./program/target/deploy/*.so"
88
},
99
"dependencies": {
1010
"@solana/web3.js": "^1.47.3",

basics/realloc/native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"scripts": {
44
"test": "pnpm ts-mocha -p ./tests/tsconfig.test.json -t 1000000 ./tests/realloc.test.ts",
55
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",
6-
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so",
7-
"deploy": "solana program deploy ./program/target/so/program.so"
6+
"build": "cargo build-sbf --manifest-path=./program/Cargo.toml",
7+
"deploy": "solana program deploy ./program/target/deploy/*.so"
88
},
99
"dependencies": {
1010
"@solana/web3.js": "^1.35",

0 commit comments

Comments
 (0)