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
}-
When experiencing irregular behavior that's difficult to explain, it's worth running
foundryupandforge cleanjust 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 --watchwhile writing a new function to make sure the compiler is happy with your code, especially if the syntax highlighting lags. It's advisable to runforge test -vvv --watchwhile 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-coreand excludelib/shipyard-core/lib.