46f18f9cbcfa1d546b77331b008cd5792aafcb4f
Use PostCSS function from browser vendors to generate fallback color defs for when OKLCH isn't supported (#2770)
Zoo Design Studio
Developer manual
.PHONY: all
all: install
INSTALL
.PHONY: install
ifeq ($(OS),Windows_NT)
export WINDOWS := true
ifndef MSYSTEM
export POWERSHELL := true
endif
endif
#\
ifdef WINDOWS
CARGO ?= $(USERPROFILE)/.cargo/bin/cargo.exe
WASM_PACK ?= $(USERPROFILE)/.cargo/bin/wasm-pack.exe
else
CARGO ?= $(shell which cargo || echo ~/.cargo/bin/cargo)
WASM_PACK ?= $(shell which wasm-pack || echo ~/.cargo/bin/wasm-pack)
endif
#\
Install dependencies
install: node_modules/.package-lock.json $(CARGO) $(WASM_PACK)
- node_modules/.package-lock.json: package.json package-lock.json
- npm prune
- npm install
$(CARGO):
ifdef WINDOWS
npm run install:rust:windows
else
npm run install:rust
endif
#\
$(WASM_PACK):
ifdef WINDOWS
npm run install:wasm-pack:cargo
else
npm run install:wasm-pack:sh
endif
#\
-:
Languages
TypeScript
64.3%
Rust
34.8%
CSS
0.4%
Python
0.1%
JavaScript
0.1%