UNPKG

@naxodev/gonx

Version:

Modern Nx plugin to use Go in a Nx workspace

12 lines (11 loc) 400 B
import { ExecutorContext } from '@nx/devkit'; import { BuildExecutorSchema } from './schema'; /** * This executor builds an executable using the `go build` command. * * @param options options passed to the executor * @param context context passed to the executor */ export default function runExecutor(options: BuildExecutorSchema, context: ExecutorContext): Promise<{ success: boolean; }>;