x
This commit is contained in:
10
Makefile
10
Makefile
@ -2,8 +2,8 @@
|
|||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
all: install check build
|
all: install check build
|
||||||
|
#\
|
||||||
```
|
```
|
||||||
```` :
|
|
||||||
|
|
||||||
|
|
||||||
# INSTALL
|
# INSTALL
|
||||||
@ -15,8 +15,8 @@ ifeq ($(OS),Windows_NT)
|
|||||||
export POWERSHELL := true
|
export POWERSHELL := true
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
#\
|
||||||
```
|
```
|
||||||
```` :
|
|
||||||
|
|
||||||
``` :
|
``` :
|
||||||
ifdef WINDOWS
|
ifdef WINDOWS
|
||||||
@ -26,20 +26,20 @@ else
|
|||||||
CARGO ?= $(shell which cargo || echo ~/.cargo/bin/cargo)
|
CARGO ?= $(shell which cargo || echo ~/.cargo/bin/cargo)
|
||||||
WASM_PACK ?= $(shell which wasm-pack || echo ~/.cargo/bin/wasm-pack)
|
WASM_PACK ?= $(shell which wasm-pack || echo ~/.cargo/bin/wasm-pack)
|
||||||
endif
|
endif
|
||||||
|
#\
|
||||||
```
|
```
|
||||||
```` :
|
|
||||||
|
|
||||||
``` :
|
``` :
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
|
#\
|
||||||
```
|
```
|
||||||
```` :
|
|
||||||
|
|
||||||
### Install dependencies
|
### Install dependencies
|
||||||
|
|
||||||
``` :
|
``` :
|
||||||
install: node_modules/.package-lock.json $(CARGO) $(WASM_PACK)
|
install: node_modules/.package-lock.json $(CARGO) $(WASM_PACK)
|
||||||
|
#\
|
||||||
```
|
```
|
||||||
```` :
|
|
||||||
|
|
||||||
``` :
|
``` :
|
||||||
node_modules/.package-lock.json: package.json package-lock.json
|
node_modules/.package-lock.json: package.json package-lock.json
|
||||||
|
|||||||
Reference in New Issue
Block a user