Skip to content

Commit

Permalink
fix: removing generated files from lib and .crates files off of git (#54
Browse files Browse the repository at this point in the history
)

## Problem

The `lib` and `.crates` folder files in the `bolt-sdk` were not supposed
to be git tracked

## Solution

`git rm -r lib` and add those to `.gitignore`
  • Loading branch information
crypto-vincent authored Jun 14, 2024
1 parent 9fd4040 commit bf09b6e
Show file tree
Hide file tree
Showing 88 changed files with 20 additions and 3,923 deletions.
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
- 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

0 comments on commit bf09b6e

Please sign in to comment.