Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ run = 'deno lint'

[tasks.'check:type']
depends = 'generate:version'
run = 'deno check src/cli.ts'
run = 'deno check src/wk.ts'

[tasks.'generate:version']
run = 'echo "${VERSION:-unknown}" > VERSION'
Expand All @@ -27,9 +27,9 @@ depends = [

[tasks.'build:internal']
depends = 'bundle'
run = 'deno compile --allow-all --target {{arg(name="target")}} --output dist/wk-{{arg(name="target")}} dist/wk.js'
run = 'deno compile --allow-all --target {{arg(name="target")}} --output dist/wk-{{arg(name="target")}} dist/wk.bundle.js'
hide = true

[tasks.bundle]
depends = 'generate:version'
run = 'deno bundle --minify --output dist/wk.js src/cli.ts'
run = 'deno bundle --minify --output dist/wk.bundle.js src/wk.ts'
2 changes: 1 addition & 1 deletion src/cli.ts → src/wk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { runCommand } from './run.ts'

await new Command()
.name('wk')
.description('which-key like menu for shell.')
.description('which-key like menu for zsh.')
.version(VERSION.trim())
.command('init', initCommand)
.command('run', runCommand)
Expand Down