UNPKG

@naxodev/gonx

Version:

Modern Nx plugin to use Go in a Nx workspace

33 lines (32 loc) 831 B
{ "$schema": "https://json-schema.org/schema", "version": 2, "title": "Serve executor", "description": "Run a Go application", "type": "object", "properties": { "main": { "type": "string", "description": "Relative path from the project root to the main.go file defining the binary.", "x-completion-type": "file", "x-completion-glob": "main.go" }, "cmd": { "type": "string", "enum": ["go", "tinygo", "gow"], "description": "The name of the binary to use", "default": "go" }, "args": { "type": "array", "description": "Extra args when starting the app", "items": { "type": "string" } }, "env": { "type": "object", "description": "Environment variables to set when running the application" } } }