49 lines
734 B
TOML
49 lines
734 B
TOML
# THIS IS AUTOGENERATED. DO NOT EDIT MANUALLY
|
|
version = 1
|
|
name = "hose-use"
|
|
|
|
[setup]
|
|
script = "bun install --frozen-lockfile"
|
|
|
|
[setup.darwin]
|
|
script = '''
|
|
set -e
|
|
export PATH="$HOME/.bun/bin:$PATH"
|
|
bun install --frozen-lockfile'''
|
|
|
|
[setup.linux]
|
|
script = '''
|
|
set -e
|
|
export PATH="$HOME/.bun/bin:$PATH"
|
|
bun install --frozen-lockfile'''
|
|
|
|
[setup.win32]
|
|
script = "bun install --frozen-lockfile"
|
|
|
|
[cleanup]
|
|
script = ""
|
|
|
|
[cleanup.darwin]
|
|
script = ""
|
|
|
|
[cleanup.linux]
|
|
script = ""
|
|
|
|
[cleanup.win32]
|
|
script = ""
|
|
|
|
[[actions]]
|
|
name = "类型检查"
|
|
icon = "tool"
|
|
command = "bun run check"
|
|
|
|
[[actions]]
|
|
name = "运行测试"
|
|
icon = "test"
|
|
command = "bun test"
|
|
|
|
[[actions]]
|
|
name = "提交前检查"
|
|
icon = "run"
|
|
command = "bun test && bun run check"
|