cc-libs/just/npm.just

34 lines
873 B
Plaintext

# Install Node dependencies for repository tools.
npm-install: npm-install-trap-sandbox
# Install Node dependencies for trap-sandbox.
npm-install-trap-sandbox:
npm install --prefix tools/trap-sandbox/
# Build Node-based repository tools.
npm-build: npm-build-trap-sandbox
npm-build-trap-sandbox:
npm run build --prefix tools/trap-sandbox/
# Check Node-based repository tools.
npm-check: npm-check-trap-sandbox
npm-check-trap-sandbox:
npm run check --prefix tools/trap-sandbox/
# Run Node-based tool tests.
npm-test: npm-test-trap-sandbox
npm-test-trap-sandbox:
npm test --prefix tools/trap-sandbox/
# Run Node-based tool integration tests.
npm-test-integration: stage npm-test-integration-trap-sandbox
npm-test-integration-trap-sandbox:
npm run test:integration --prefix tools/trap-sandbox/
# Build generated artifacts.
build: npm-build stage