This repo is not official nor maintained, it's used for the sake of this article: Foundry Vs Hardhat
Check the official implementation of the lsp-smart-contracts
$ git clone https://github.com/YamenMerhi/foundry-lsp-smart-contracts.git
$ cd ./foundry-lsp-smart-contracts
$ forge installFor compiling:
$ forge buildFor testing:
$ forge test