diff --git a/.codex/environments/environment.toml b/.codex/environments/environment.toml new file mode 100644 index 0000000..b243a71 --- /dev/null +++ b/.codex/environments/environment.toml @@ -0,0 +1,48 @@ +# 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 = "test" +command = "bun run check" + +[[actions]] +name = "运行测试" +icon = "test" +command = "bun test" + +[[actions]] +name = "提交前检查" +icon = "test" +command = "bun test && bun run check"