Skip to content

Commit

Permalink
fix initial installation (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
killroy192 authored May 24, 2024
1 parent 99f0883 commit 99e2cd6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@

.PHONY: all test clean install compile snapshot

all: clean init-env install test
all: init-clean add-env install test

init-clean :; forge clean; rm -rf node_modules;

# Clean the repo
clean :; forge clean; rm -rf node_modules; rm .env
clean :; init-clean; rm .env

init-env :; touch .env;
add-env :; touch .env;

# Local installation
install :; npm i && npx husky install

# CI installation
install-ci :; touch .env; npm ci
install-ci :; add-env; npm ci

# Update Dependencies
forge-update:; forge update
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sol-starter",
"version": "0.1.0",
"version": "0.1.1",
"description": "Template to bootstrap solidity project with foundry and hardhat",
"author": "Dzmitry Lahunouski",
"license": "MIT",
Expand Down

0 comments on commit 99e2cd6

Please sign in to comment.