feat(runner): add the own code runner contract, client and nsjail service
This commit is contained in:
1 parent
5e1db37746
commit
cdf6bcbb91
109 files changed
+24084
-28
No files matched your search
@@ -98,6 +98,7 @@ generate gen: ## Regenerate API, SQL, and dependency-injection code in dependenc
|
||||
@if [ "$(API_PREPARED)" != "1" ]; then $(MAKE) -C "$(API_DIR)" bundle; fi
|
||||
$(MAKE) --no-print-directory gen-openapi API_PREPARED=1
|
||||
$(MAKE) --no-print-directory gen-ml API_PREPARED=1
|
||||
$(MAKE) --no-print-directory gen-code-runner API_PREPARED=1
|
||||
$(MAKE) --no-print-directory gen-sqlc
|
||||
$(MAKE) --no-print-directory gen-wire
|
||||
$(MAKE) --no-print-directory mocks
|
||||
@@ -112,6 +113,11 @@ gen-ml: ## Generate the internal ML service client
|
||||
@if [ "$(API_PREPARED)" != "1" ]; then $(MAKE) -C "$(API_DIR)" bundle; fi
|
||||
$(GO_TOOL) ogen -config codegen/ogen-ml.yml --target internal/adapter/secondary/ml/api --package api --clean ../api/ml/openapi.bundle.yml
|
||||
|
||||
.PHONY: gen-code-runner
|
||||
gen-code-runner: ## Generate the internal code runner client
|
||||
@if [ "$(API_PREPARED)" != "1" ]; then $(MAKE) -C "$(API_DIR)" bundle; fi
|
||||
$(GO_TOOL) ogen -config codegen/ogen-code-runner.yml --target internal/adapter/secondary/code_runner/api --package api --clean ../api/runner/openapi.bundle.yml
|
||||
|
||||
.PHONY: gen-sqlc
|
||||
gen-sqlc: ## Generate PostgreSQL query code from migrations and queries
|
||||
$(GO_TOOL) sqlc generate -f codegen/sqlc.yml
|
||||
|
||||
Reference in new issue
Block a user