make <target>Workspace commands
The root Makefile is a stable user entrypoint that includes generated orchestration and active language backends.
When to use
Use this reference when generating, reviewing or operating a Service Architect project.
Behavior
- Run these commands from the generated project root.
- Generic targets fan out to all services and contract packages selected by the graph.
- make.generated.mk is generator-owned; keep custom targets in the user Makefile or separate included files.
Workspace command reference
Common build, quality and generation targets.
make / make allWorkspaceBuild all generated services. This is the default target.
make initWorkspaceFirst-time setup: install or verify tools, generate transport artifacts and format sources.
make buildWorkspaceRun every language backend build target selected by the graph.
make testWorkspaceRun tests for all generated services and packages.
make lintWorkspaceRun language linters and type checks.
make lint-fixWorkspaceApply supported automatic lint and formatting fixes.
make fmtWorkspaceFormat all source and schema files owned by the selected language backends.
make genWorkspaceRegenerate protobuf, OpenAPI and transport bindings.
make cleanWorkspaceRemove generated build artifacts without deleting business sources.
make toolsWorkspaceDownload or verify pinned code-generation, lint and repository tools.
make ciWorkspaceRun tools, build, test and lint as one local CI pipeline.
make integration-testWorkspaceRun generated cross-service integration scenarios.
make runWorkspaceAlias for starting the complete Docker Compose environment.
make actWorkspaceExecute generated GitHub Actions locally through act.
make grafana-dashboardsWorkspaceGenerate dashboards for every service from Jsonnet sources.
make helpWorkspacePrint documented Make targets from all included generated Makefiles.
Typical local workflow
make init
make build
make test
make lint
make docker-up