Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
- Add 'mithril-client-wasm' compilation in the explorer Makefile
- Add build command with make dev
  • Loading branch information
dlachaume committed Jan 11, 2024
1 parent ff3fb20 commit 70d11cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mithril-explorer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ yarn.lock:
install: yarn.lock

build: yarn.lock
make -C ../mithril-client-wasm build
yarn && yarn run build
# Fix to allow refresh & direct linking to the navigation page on static hosting such as Github Pages
# this is because the nextJs router is only active for the home page at start.
Expand All @@ -17,7 +18,7 @@ build: yarn.lock
serve: build
yarn run start

dev:
dev: build
@echo "Serving dev build at: http://localhost:3000/explorer"
yarn run dev

Expand Down

0 comments on commit 70d11cf

Please sign in to comment.