Skip to content

Commit

Permalink
Merge pull request #116 from karthik2804/fix/make-serve
Browse files Browse the repository at this point in the history
  • Loading branch information
radu-matei authored Aug 28, 2022
2 parents 8251105 + c85edd8 commit 485629b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,17 @@ check-content:

.PHONY: serve
serve: build
serve: update-docs-binary
serve:
$(SPIN) up --log-dir ./logs -e PREVIEW_MODE=$(PREVIEW_MODE) -e SHOW_DEBUG=$(SHOW_DEBUG) -e BASE_URL=$(BASE_URL) -e DISABLE_CACHE=$(DISABLE_CACHE) -f docs/spin.toml

.PHONY: run
run: serve

.PHONY: update-docs-binary
update-docs-binary:
cp target/wasm32-wasi/release/bartholomew.wasm docs/modules/bartholomew.wasm

.PHONY: clean
clean:
rm -rf config/_cache.json

0 comments on commit 485629b

Please sign in to comment.