feat: Add Undistract Me Feature (#1019)

Often it is handy to get notified when the execution of a command finished.
This commit includes notify-rust in order to generate a desktop notification
when a command execution finished.
This commit is contained in:
Marc Schreiber
2020-08-11 18:44:25 +02:00
committed by GitHub
parent 93c568e118
commit 8c71eb5307
6 changed files with 283 additions and 40 deletions
+13 -1
View File
@@ -27,6 +27,9 @@ jobs:
profile: minimal
components: rustfmt
- name: Setup | libdbus (ubuntu)
run: sudo apt-get install libdbus-1-dev
- name: Build | Format
run: cargo fmt --all -- --check
@@ -51,6 +54,10 @@ jobs:
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Setup | libdbus (ubuntu)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libdbus-1-dev
- name: Setup | Rust
uses: actions-rs/toolchain@v1
with:
@@ -108,6 +115,11 @@ jobs:
- name: Setup | Checkout
uses: actions/checkout@v2
- name: Setup | libdbus (ubuntu)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libdbus-1-dev
# Cache files between builds
- name: Setup | Cache Cargo
uses: actions/cache@v2
with:
@@ -132,4 +144,4 @@ jobs:
# Run the ignored tests that expect the above setup
- name: Build | Test
run: cargo test -- -Z unstable-options --include-ignored
run: cargo test --all-features -- -Z unstable-options --include-ignored