-
Notifications
You must be signed in to change notification settings - Fork 92
chore: use 'just' instead of 'npx nx' #2196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e3898a5
refactor build and test scripts to use 'just' instead of 'npx nx'
sergeytimoshin 733d193
fix justfile
sergeytimoshin 3ccadde
refactor: replace just installation script with action and update bui…
sergeytimoshin 1901eb4
fix justfile
sergeytimoshin fb3d1c4
add justfile for prover
sergeytimoshin f352669
justfile mods
sergeytimoshin 33f9f31
cleanup
sergeytimoshin 96d0547
fix
sergeytimoshin a93bfa3
cleanup
sergeytimoshin 075f33a
cleanup
sergeytimoshin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,15 @@ | ||
| # Light Protocol - CLI | ||
|
|
||
| default: | ||
| @just --list | ||
|
|
||
| # Build JS dependencies first, then CLI | ||
| build: build-js-deps | ||
| pnpm build | ||
|
|
||
| build-js-deps: | ||
| cd ../js/stateless.js && pnpm build | ||
| cd ../js/compressed-token && pnpm build | ||
|
|
||
| test: | ||
| pnpm test |
This file contains hidden or 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 hidden or 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,37 @@ | ||
| # Light Protocol - Forester Service | ||
|
|
||
| export TEST_MODE := env_var_or_default("TEST_MODE", "local") | ||
| export TEST_V1_STATE := env_var_or_default("TEST_V1_STATE", "true") | ||
| export TEST_V2_STATE := env_var_or_default("TEST_V2_STATE", "true") | ||
| export TEST_V1_ADDRESS := env_var_or_default("TEST_V1_ADDRESS", "true") | ||
| export TEST_V2_ADDRESS := env_var_or_default("TEST_V2_ADDRESS", "true") | ||
| export RUST_BACKTRACE := env_var_or_default("RUST_BACKTRACE", "1") | ||
|
|
||
| default: | ||
| @just --list | ||
|
|
||
| build: | ||
| cargo build -p forester --release | ||
|
|
||
| # Builds test program dependency | ||
| build-test-deps: | ||
| cd ../program-tests/create-address-test-program && cargo build-sbf | ||
|
|
||
| test: build-test-deps | ||
| cargo test --package forester e2e_test -- --nocapture | ||
|
|
||
| # Builds csdk-anchor-full-derived-test program for compressible tests | ||
| build-compressible-test-deps: | ||
| cargo build-sbf --manifest-path ../sdk-tests/csdk-anchor-full-derived-test/Cargo.toml | ||
|
|
||
| test-compressible-pda: build-compressible-test-deps | ||
| RUST_LOG=forester=debug,light_client=debug \ | ||
| cargo test --package forester --test test_compressible_pda -- --nocapture | ||
|
|
||
| test-compressible-mint: build-compressible-test-deps | ||
| RUST_LOG=forester=debug,light_client=debug \ | ||
| cargo test --package forester --test test_compressible_mint -- --nocapture | ||
|
|
||
| test-compressible-ctoken: build-compressible-test-deps | ||
| RUST_LOG=forester=debug,light_client=debug \ | ||
| cargo test --package forester --test test_compressible_ctoken -- --nocapture | ||
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.