Skip to content

Commit

Permalink
refactor(dev-cli): rename build function to exec for clarity and adde…
Browse files Browse the repository at this point in the history
…d correct description
  • Loading branch information
PeterFarber committed Aug 8, 2024
1 parent 55a3b3e commit 718ae37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-cli/src/commands/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { Command } from '../deps.js'
import { VERSION } from '../versions.js'

export async function build (_, command) {
export async function exec (_, command) {
const pwd = Deno.cwd()
const p = Deno.run({
cmd: [
Expand All @@ -21,6 +21,6 @@ export async function build (_, command) {
}

export const command = new Command()
.description('Build the Lua Project into WASM')
.description('Exec command in the container ( ie: exec emcmake cmake . )')
.arguments('<command:string>')
.action(build)
.action(exec)

0 comments on commit 718ae37

Please sign in to comment.