Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.12 KB

File metadata and controls

23 lines (16 loc) · 1.12 KB

Useful Aliases

alias gm="foundryup"
alias fb="forge build"
alias fc="forge clean"
alias ff="forge fmt"
alias ft="forge test -vvv"

reinit() {
    git submodule deinit -f .
    git submodule update --init --recursive
}

Notes

  • When experiencing irregular behavior that's difficult to explain, it's worth running foundryup and forge clean just to make sure that everything's all synced on the latest. See https://book.getfoundry.sh/reference/forge/forge-clean for more.

  • It's advisable to run forge build --watch while writing a new function to make sure the compiler is happy with your code, especially if the syntax highlighting lags. It's advisable to run forge test -vvv --watch while tweaking a test or tweaking code that a test targets. See https://book.getfoundry.sh/forge/tests#watch-mode for more info.

  • If you're searching for something in shipyard-core, but you don't want to see all of the files in shipyard-core's libraries, include lib/shipyard-core and exclude lib/shipyard-core/lib.