Skip to content

Commit

Permalink
[all] Clean up run.nu and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nazmulidris committed Dec 16, 2023
1 parent fdb2cfb commit 3ecd149
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 24 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,15 @@
<a id="markdown-next-release" name="next-release"></a>

- Added:
- Binary target for `giti`. This will be an interactive git client that is tuified. It
is meant to be a useful productivity tool and an example of what is possible w/ tuify.
- Binary target for `giti`. This is an interactive git client that is tuified. It is a
productivity tool for git workflows, and is meant as a replacement for directly using
`git`. This also serves as a real world example of using the `r3bl_tuify` crate.
- View all the `giti branch` subcommands (e.g. `delete`, `checkout`, `new`, etc.) and
select one subcommand using the `select_from_list()` when `giti branch` runs.
- Delete one or more branches using `select_from_list()` when `giti branch delete`
command runs.
- `Ctrl + c` now behaves just like the `Escape` key. In the past, pressing `Ctrl + c`
would do nothing the user could not exit the app by pressing this shortcut.

### v0.1.21 (2023-10-21)
<a id="markdown-v0.1.21-2023-10-21" name="v0.1.21-2023-10-21"></a>
Expand Down
11 changes: 0 additions & 11 deletions ansi_color/run.nu
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def main [...args: string] {
match $command {
"watch-one-test" => {watch-one-test $args}
"watch-macro-expansion-one-test" => {watch-macro-expansion-one-test $args}
"all" => {all}
"build" => {build}
"clean" => {clean}
"run" => {run}
Expand Down Expand Up @@ -104,7 +103,6 @@ def print-help [command: string] {
if $command == "all" {
print $'Usage: (ansi blue_bold)run.nu(ansi reset) (ansi green_bold)<command>(ansi reset) (ansi yellow)[args](ansi reset)'
print $'(ansi green_bold)<command>(ansi reset) can be:'
print $' (ansi green)all(ansi reset)'
print $' (ansi green)build(ansi reset)'
print $' (ansi green)clean(ansi reset)'
print $' (ansi green)run(ansi reset)'
Expand Down Expand Up @@ -132,15 +130,6 @@ def print-help [command: string] {
}
}

def all [] {
clean
build
test
clippy
docs
rustfmt
}

def build [] {
cargo build
}
Expand Down
11 changes: 0 additions & 11 deletions tuify/run.nu
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def main [...args: string] {
let command = $args | get 0

match $command {
"all" => {all}
"build" => {build}
"clean" => {clean}
"run" => {run}
Expand Down Expand Up @@ -115,7 +114,6 @@ def print-help [command: string] {
if $command == "all" {
print $'Usage: (ansi blue_bold)run.nu(ansi reset) (ansi green_bold)<command>(ansi reset) (ansi yellow)[args](ansi reset)'
print $'(ansi green_bold)<command>(ansi reset) can be:'
print $' (ansi green)all(ansi reset)'
print $' (ansi green)build(ansi reset)'
print $' (ansi green)clean(ansi reset)'
print $' (ansi green)run(ansi reset)'
Expand Down Expand Up @@ -145,15 +143,6 @@ def print-help [command: string] {
}
}

def all [] {
clean
build
test
clippy
docs
rustfmt
}

def build [] {
cargo build
}
Expand Down

0 comments on commit 3ecd149

Please sign in to comment.