Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
If you run "cargo build-bpf" from the root directory, you get an error such as the following:

Failed to obtain package metadata: Error during execution of `cargo metadata`: error:
could not find `Cargo.toml` in `/home/gabe/code/dapp-scalfold` or any parent directory

Seems these commands need to be run from the program subdirectory.
  • Loading branch information
GabeDottl authored Apr 16, 2021
1 parent 9352c93 commit ed29d7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ yarn start
4. Install NPM, Yarn

# Build Smart Contract (compiled for BPF)
Run the following from the program/ subdirectory:

```bash
$ cargo build-bpf
Expand Down

0 comments on commit ed29d7c

Please sign in to comment.