singularity-forge/justfile

54 lines
796 B
Makefile
Raw Normal View History

set shell := ["bash", "-c"]
# List available tasks
default:
@just --list
# Install workspace dependencies
install:
npm install
# Full build (core + web)
build:
npm run build
# Build core runtime only (faster)
build-core:
npm run build:core
# Build native Rust addon (release)
build-native:
npm run build:native-pkg
# Run all tests
test:
npm test
# Run unit tests only
test-unit:
npm run test:unit
# Run smoke tests
test-smoke:
npm run test:smoke
# Run TypeScript type checking
typecheck:
npm run typecheck:extensions
# Lint
lint:
npm run lint
# Lint and auto-fix
lint-fix:
npm run lint:fix
# Remove build outputs
clean:
rm -rf dist dist-test
# Run SF CLI from source (usage: just sf <args>)
sf *args:
./bin/sf-from-source {{args}}