26 lines
325 B
Makefile
26 lines
325 B
Makefile
# Start development server
|
|
serve-dev:
|
|
pnpm dev
|
|
|
|
# Start production preview server
|
|
serve-preview:
|
|
pnpm preview
|
|
|
|
# Build for production
|
|
build:
|
|
pnpm build
|
|
# cargo build
|
|
|
|
# Run tests
|
|
test:
|
|
pnpm test:run
|
|
# cargo test
|
|
|
|
# Run linter
|
|
lint:
|
|
pnpm lint
|
|
|
|
# Format code
|
|
format:
|
|
pnpm format
|
|
# cargo fmt
|