Skip to content

Commit

Permalink
chore: build system & compressed-token programs with cpi-context feat…
Browse files Browse the repository at this point in the history
…ure enabled via programs/package.json
  • Loading branch information
sergeytimoshin committed Jun 4, 2024
1 parent 4c177e6 commit 4b2c783
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion programs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"license": "GPL-3.0",
"scripts": {
"push-idls": "../scripts/push-stateless-js-idls.sh && ../scripts/push-compressed-token-idl.sh",
"build": "anchor build && pnpm push-idls",
"build": "anchor build && pnpm build-system && pnpm build-compressed-token && pnpm push-idls",
"build-system": "anchor build --program-name light_system_program -- --features cpi-context",
"build-compressed-token": "anchor build --program-name light_compressed_token -- --features cpi-context",
"test": "pnpm test-account-compression && pnpm test-system && pnpm test-compressed-token && pnpm test-registry",
"test-account-compression": "cargo-test-sbf -p account-compression-test -- --test-threads=1",
"test-system": "cargo test-sbf -p system-test -- --test-threads=1",
Expand Down

0 comments on commit 4b2c783

Please sign in to comment.