Skip to content
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

fix: removing generated files from lib and .crates files off of git #54

Merged
merged 5 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,18 +154,18 @@ jobs:
cargo install --path cli --force --locked
bolt build

- name: run tests
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
cargo install --path cli --force --locked
bolt test

- name: Generate lib
run: |
cd clients/bolt-sdk
yarn build
cd ../..

- name: run tests
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
cargo install --path cli --force --locked
bolt test
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

running bolt test after yarn build


- name: Install the Bolt CLI and create & build a new project
shell: bash
run: |
Expand Down
11 changes: 10 additions & 1 deletion Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,16 @@ shutdown_wait = 2000
upgradeable = false

[workspace]
members = ["programs/bolt-component", "programs/bolt-system", "programs/world", "examples/component-position", "examples/component-velocity", "examples/system-apply-velocity", "examples/system-fly", "examples/system-simple-movement"]
members = [
"programs/bolt-component",
"programs/bolt-system",
"programs/world",
"examples/component-position",
"examples/component-velocity",
"examples/system-apply-velocity",
"examples/system-fly",
"examples/system-simple-movement",
]

[[test.genesis]]
address = "DELeGGvXpWV2fqJUhqcF5ZSYMS4JTLjteaAMARRSaeSh"
Expand Down
2 changes: 0 additions & 2 deletions clients/bolt-sdk/.crates/.crates.toml

This file was deleted.

1 change: 0 additions & 1 deletion clients/bolt-sdk/.crates/.crates2.json

This file was deleted.

Binary file removed clients/bolt-sdk/.crates/bin/anchor
Binary file not shown.
2 changes: 2 additions & 0 deletions clients/bolt-sdk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lib
.crates
48 changes: 0 additions & 48 deletions clients/bolt-sdk/lib/accounts/Entity.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion clients/bolt-sdk/lib/accounts/Entity.d.ts.map

This file was deleted.

Loading
Loading