From 264eb92d238b43eb6ed1a22d98f58f703b3d1061 Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Tue, 25 Jun 2024 18:40:36 +0800 Subject: [PATCH] spec: add runcpu action --- src/commands/spec.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/commands/spec.ts b/src/commands/spec.ts index c89d467..30644b5 100644 --- a/src/commands/spec.ts +++ b/src/commands/spec.ts @@ -1,6 +1,17 @@ import { optFlag, optSwitch, undefList } from "./common"; export interface RunCPUOptions { + /** + * Most runcpu commands perform an action on a set of benchmarks. + * + * The default action is validate. + * + * 'build' + */ + action?: 'build' + | 'buildstep' + | 'validate' + | 'runsetup'; /** * Config file, used for compiling flags, compiler versions, etc. */