Prepare v1.2.0 (#69)
* prepare v1.2.0 * update README * update justfile
This commit is contained in:
parent
3d9b235f12
commit
6f0df4d488
14
CHANGELOG.md
14
CHANGELOG.md
@ -1,12 +1,20 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## [Unreleased]
|
## v1.2.0 - 2025-02-26
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
- (notification) Blink clock when it reaches its `done` mode. (optional) [#65](https://github.com/sectore/timr-tui/pull/65)
|
- (notification) Clock animation (blink) by reaching `done` mode (optional) [#65](https://github.com/sectore/timr-tui/pull/65)
|
||||||
- (notification) Native desktop notification (optional, experimental) [#49](https://github.com/sectore/timr-tui/pull/59)
|
- (notification) Native desktop notification (optional, experimental) [#59](https://github.com/sectore/timr-tui/pull/59)
|
||||||
- (notification) Sound notification (optional, experimental, available in local build only) [#62](https://github.com/sectore/timr-tui/pull/62)
|
- (notification) Sound notification (optional, experimental, available in local build only) [#62](https://github.com/sectore/timr-tui/pull/62)
|
||||||
|
- (logging) Add `--log` arg to enable logs [e094d7d](https://github.com/sectore/timr-tui/commit/e094d7d81b99f58f0d3bc50124859a4e1f6dbe4f)
|
||||||
|
|
||||||
|
### Misc.
|
||||||
|
|
||||||
|
- (refactor) Extend event handling for using a `mpsc` channel to send `AppEvent`'s from anywhere. [#61](https://github.com/sectore/timr-tui/pull/61)
|
||||||
|
- (extension) Use `set_panic_hook` for better error handling [#67](https://github.com/sectore/timr-tui/pull/67)
|
||||||
|
- (deps) Use latest `Rust 1.85` and `Rust 2024 Edition`. Refactor `flake` to consider `rust-toolchain.toml` etc. [#68](https://github.com/sectore/timr-tui/pull/68)
|
||||||
|
|
||||||
|
|
||||||
## v1.1.0 - 2025-01-22
|
## v1.1.0 - 2025-01-22
|
||||||
|
|
||||||
|
|||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2055,7 +2055,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "timr-tui"
|
name = "timr-tui"
|
||||||
version = "1.1.0"
|
version = "1.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"color-eyre",
|
"color-eyre",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "timr-tui"
|
name = "timr-tui"
|
||||||
version = "1.1.0"
|
version = "1.2.0"
|
||||||
description = "TUI to organize your time: Pomodoro, Countdown, Timer."
|
description = "TUI to organize your time: Pomodoro, Countdown, Timer."
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
# Reminder: Always keep `channel` in `rust-toolchain.toml` in sync with `rust-version`.
|
# Reminder: Always keep `channel` in `rust-toolchain.toml` in sync with `rust-version`.
|
||||||
|
|||||||
32
README.md
32
README.md
@ -140,20 +140,26 @@ If you have [`direnv`](https://direnv.net) installed, run `direnv allow` once to
|
|||||||
### Commands
|
### Commands
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
just --list
|
just
|
||||||
|
|
||||||
Available recipes:
|
Available recipes:
|
||||||
build # build app
|
build # build app [alias: b]
|
||||||
b # alias for `build`
|
default # list commands
|
||||||
default
|
demo-blink # build demo: blink animation [alias: db]
|
||||||
format # format files
|
demo-countdown # build demo: countdown [alias: dc]
|
||||||
f # alias for `format`
|
demo-countdown-met # build demo: countdown + met [alias: dcm]
|
||||||
lint # lint
|
demo-decis # build demo: deciseconds [alias: dd]
|
||||||
l # alias for `lint`
|
demo-local-time # build demo: local time [alias: dlt]
|
||||||
run # run app
|
demo-menu # build demo: menu [alias: dm]
|
||||||
r # alias for `run`
|
demo-pomodoro # build demo: pomodoro [alias: dp]
|
||||||
test # run tests
|
demo-rocket-countdown # build demo: rocket countdown [alias: drc]
|
||||||
t # alias for `test`
|
demo-style # build demo: styles [alias: ds]
|
||||||
|
demo-timer # build demo: timer [alias: dt]
|
||||||
|
format # format files [alias: f]
|
||||||
|
lint # lint [alias: l]
|
||||||
|
run # run app [alias: r]
|
||||||
|
run-sound path # run app while sound feature is enabled. It expects a path to a sound file. [alias: rs]
|
||||||
|
test # run tests [alias: t]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
@ -161,6 +167,8 @@ Available recipes:
|
|||||||
- Linux
|
- Linux
|
||||||
```sh
|
```sh
|
||||||
nix build
|
nix build
|
||||||
|
# or for bulding w/ statically linked binaries
|
||||||
|
nix build .#linuxStatic
|
||||||
```
|
```
|
||||||
|
|
||||||
- Windows (cross-compilation)
|
- Windows (cross-compilation)
|
||||||
|
|||||||
11
justfile
11
justfile
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
set unstable := true
|
set unstable := true
|
||||||
|
|
||||||
|
# list commands
|
||||||
default:
|
default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
@ -46,50 +47,60 @@ run-sound path:
|
|||||||
|
|
||||||
alias dp := demo-pomodoro
|
alias dp := demo-pomodoro
|
||||||
|
|
||||||
|
# build demo: pomodoro
|
||||||
demo-pomodoro:
|
demo-pomodoro:
|
||||||
vhs demo/pomodoro.tape
|
vhs demo/pomodoro.tape
|
||||||
|
|
||||||
alias dt := demo-timer
|
alias dt := demo-timer
|
||||||
|
|
||||||
|
# build demo: timer
|
||||||
demo-timer:
|
demo-timer:
|
||||||
vhs demo/timer.tape
|
vhs demo/timer.tape
|
||||||
|
|
||||||
alias dc := demo-countdown
|
alias dc := demo-countdown
|
||||||
|
|
||||||
|
# build demo: countdown
|
||||||
demo-countdown:
|
demo-countdown:
|
||||||
vhs demo/countdown.tape
|
vhs demo/countdown.tape
|
||||||
|
|
||||||
alias dcm := demo-countdown-met
|
alias dcm := demo-countdown-met
|
||||||
|
|
||||||
|
# build demo: countdown + met
|
||||||
demo-countdown-met:
|
demo-countdown-met:
|
||||||
vhs demo/countdown-met.tape
|
vhs demo/countdown-met.tape
|
||||||
|
|
||||||
alias ds := demo-style
|
alias ds := demo-style
|
||||||
|
|
||||||
|
# build demo: styles
|
||||||
demo-style:
|
demo-style:
|
||||||
vhs demo/style.tape
|
vhs demo/style.tape
|
||||||
|
|
||||||
alias dd := demo-decis
|
alias dd := demo-decis
|
||||||
|
|
||||||
|
# build demo: deciseconds
|
||||||
demo-decis:
|
demo-decis:
|
||||||
vhs demo/decis.tape
|
vhs demo/decis.tape
|
||||||
|
|
||||||
alias dm := demo-menu
|
alias dm := demo-menu
|
||||||
|
|
||||||
|
# build demo: menu
|
||||||
demo-menu:
|
demo-menu:
|
||||||
vhs demo/menu.tape
|
vhs demo/menu.tape
|
||||||
|
|
||||||
alias dlt := demo-local-time
|
alias dlt := demo-local-time
|
||||||
|
|
||||||
|
# build demo: local time
|
||||||
demo-local-time:
|
demo-local-time:
|
||||||
vhs demo/local-time.tape
|
vhs demo/local-time.tape
|
||||||
|
|
||||||
alias drc := demo-rocket-countdown
|
alias drc := demo-rocket-countdown
|
||||||
|
|
||||||
|
# build demo: rocket countdown
|
||||||
demo-rocket-countdown:
|
demo-rocket-countdown:
|
||||||
vhs demo/met.tape
|
vhs demo/met.tape
|
||||||
|
|
||||||
alias db := demo-blink
|
alias db := demo-blink
|
||||||
|
|
||||||
|
# build demo: blink animation
|
||||||
demo-blink:
|
demo-blink:
|
||||||
vhs demo/blink.tape
|
vhs demo/blink.tape
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user