Cyfrin / foundry-nft-cu

21 stars 22 forks source link

MakeFile issue #39

Closed nitinaimshigh closed 2 months ago

nitinaimshigh commented 2 months ago

When i enter the make deploy in command line, i get this error. It's for every make command. Please help. TIA. make: *** No rule to make target 'deploy'. Stop.

cromewar commented 2 months ago

Hello @nitinaimshigh The makefile requires you to specify the network you are deploying to:

deploy:
    @forge script script/DeployBasicNft.s.sol:DeployBasicNft $(NETWORK_ARGS)

Are you sending over the correct network?

nitinaimshigh commented 2 months ago

Hi Vasiliy, Thanks for the reply. The issue was, I had misspelled the file as MakeFile instead of Makefile. So it got resolved as soon as the change was made. Thanks again. Nitin

On Mon, Jul 15, 2024 at 8:42 AM Vasiliy Gualoto @.***> wrote:

Hello @nitinaimshigh https://github.com/nitinaimshigh The makefile requires you to specify the network you are deploying to:

deploy: @forge script script/DeployBasicNft.s.sol:DeployBasicNft $(NETWORK_ARGS)

Are you sending over the correct network?

— Reply to this email directly, view it on GitHub https://github.com/Cyfrin/foundry-nft-cu/issues/39#issuecomment-2227633518, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCQUDG2JPKJ3STQSGIPS2V3ZMM4ZZAVCNFSM6AAAAABK3GXOH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGYZTGNJRHA . You are receiving this because you were mentioned.Message ID: @.***>