Skip to content

Commit

Permalink
update code std commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Feb 24, 2024
1 parent 9cd4e6a commit 2ec3f8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 4 additions & 12 deletions code/code/cmdstd.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,27 +454,19 @@ var StdCmds = Commands{
Dir: "{FileDirPath}",
Wait: CmdNoWait, Focus: CmdNoFocus, Confirm: CmdNoConfirm},

{Cat: "Core", Name: "Version-Release",
{Cat: "Core", Name: "Next-Release",
Desc: "increments the patch-level version number and pushes a release tag at this new version",
Lang: fi.Any,
Cmds: []CmdAndArgs{{Cmd: "core",
Args: []string{"version-release"}}},
Dir: "{FileDirPath}",
Wait: CmdNoWait, Focus: CmdNoFocus, Confirm: CmdNoConfirm},

{Cat: "Core", Name: "Update Version",
Desc: "increments the patch-level version number",
Lang: fi.Any,
Cmds: []CmdAndArgs{{Cmd: "core",
Args: []string{"update-version"}}},
Args: []string{"next-release"}}},
Dir: "{FileDirPath}",
Wait: CmdNoWait, Focus: CmdNoFocus, Confirm: CmdNoConfirm},

{Cat: "Core", Name: "Release",
Desc: "pushes a release tag at current version",
Desc: "sets the version to the given value at the prompt and pushes a release tag at this version",
Lang: fi.Any,
Cmds: []CmdAndArgs{{Cmd: "core",
Args: []string{"release"}}},
Args: []string{"release", "{PromptString1}"}}},
Dir: "{FileDirPath}",
Wait: CmdNoWait, Focus: CmdNoFocus, Confirm: CmdNoConfirm},

Expand Down
2 changes: 2 additions & 0 deletions code/codev/texteditors.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ func (ge *CodeView) UpdateTextButtons() {
txnm = dirs.DirAndFile(string(tv.Buf.Filename))
if tv.Buf.IsNotSaved() {
txnm += " <b>*</b>"
} else {
txnm += " "
}
}
sel := ati == i
Expand Down

0 comments on commit 2ec3f8a

Please sign in to comment.