File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .PHONY : build clean install dev test lint format help
2+
3+ # Default target
4+ help :
5+ @echo " SpecOps CLI - Available targets:"
6+ @echo " "
7+ @echo " build Build the package (using poetry)"
8+ @echo " clean Remove build artifacts"
9+ @echo " install Install the package locally"
10+ @echo " dev Install in development mode"
11+ @echo " test Run tests"
12+ @echo " lint Run linting"
13+ @echo " format Format code"
14+ @echo " "
15+
16+
17+ # Build using poetry
18+ build :
19+ poetry build
20+
21+ # Clean build artifacts
22+ clean :
23+ rm -rf dist/
24+ rm -rf build/
25+ rm -rf * .egg-info
26+ rm -rf src/* .egg-info
27+ find . -type d -name __pycache__ -exec rm -rf {} + 2> /dev/null || true
28+ find . -type f -name " *.pyc" -delete 2> /dev/null || true
29+
30+ # Install the package
31+ install : build
32+ pip install dist/* .whl
33+
34+ # Development install
35+ dev :
36+ pip install -e .
37+
38+ # Run tests
39+ test :
40+ pytest
41+
42+ # Lint
43+ lint :
44+ ruff check src/
45+
46+ # Format
47+ format :
48+ ruff format src/
Original file line number Diff line number Diff line change 11[project ]
22name = " specops-cli"
3- version = " 0.1.3 "
3+ version = " 0.1.4 "
44description = " SpecOps CLI, part of DotLabs Spec Ops. A tool to bootstrap your projects for Spec-Driven Infrastructure as Code."
55requires-python = " >=3.11"
66dependencies = [
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ handoffs:
44 - label : Build Technical Plan
55 agent : specops.plan
66 prompt : Create implementation plan for the infrastructure. I am deploying with...
7+ scripts :
8+ sh : scripts/bash/check-prerequisites.sh --json --paths-only
9+ ps : scripts/powershell/check-prerequisites.ps1 -Json -PathsOnly
710---
811
912## User Input
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ handoffs:
44 - label : Build Specification
55 agent : specops.specify
66 prompt : Implement the infrastructure specification based on the updated constitution. I want to deploy...
7+ scripts :
8+ sh : echo 'Constitution command - no setup script required'
9+ ps : Write-Output 'Constitution command - no setup script required'
710---
811
912## User Input
You can’t perform that action at this time.
0 commit comments