mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Compare commits
9 Commits
v0.7.0
...
v0.7.1.alpha4
| Author | SHA1 | Date | |
|---|---|---|---|
| e17e569c82 | |||
| 4e3c50177b | |||
| 73bdb328f2 | |||
| 68648178b3 | |||
| 3c2149b431 | |||
| 0301c7a058 | |||
| bbed8d7478 | |||
| 17e7390e25 | |||
| 1cb731533b |
@@ -255,11 +255,13 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: steps.vars.outputs.DEPLOY
|
if: steps.vars.outputs.DEPLOY
|
||||||
with:
|
with:
|
||||||
data: |
|
files: |
|
||||||
${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_NAME }}
|
${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_NAME }}
|
||||||
|
target/${{ matrix.job.target }}/debian/*.deb
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
## fix! [rivy; 2020-22-01] `cargo tarpaulin` is unable to test this repo at the moment; alternate recipe or another testing framework?
|
## fix! [rivy; 2020-22-01] `cargo tarpaulin` is unable to test this repo at the moment; alternate recipe or another testing framework?
|
||||||
# coverage:
|
# coverage:
|
||||||
# name: Code Coverage
|
# name: Code Coverage
|
||||||
|
|||||||
Generated
+1
-1
@@ -157,7 +157,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "du-dust"
|
name = "du-dust"
|
||||||
version = "0.6.2"
|
version = "0.7.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term 0.12.1",
|
"ansi_term 0.12.1",
|
||||||
"assert_cmd",
|
"assert_cmd",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "du-dust"
|
name = "du-dust"
|
||||||
description = "A more intuitive version of du"
|
description = "A more intuitive version of du"
|
||||||
version = "0.6.2"
|
version = "0.7.1"
|
||||||
authors = ["bootandy <bootandy@gmail.com>", "nebkor <code@ardent.nebcorp.com>"]
|
authors = ["bootandy <bootandy@gmail.com>", "nebkor <code@ardent.nebcorp.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|||||||
+10
@@ -64,6 +64,7 @@ fn get_height_of_terminal() -> usize {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
fn get_width_of_terminal() -> usize {
|
fn get_width_of_terminal() -> usize {
|
||||||
// Windows CI runners detect a very low terminal width
|
// Windows CI runners detect a very low terminal width
|
||||||
if let Some((Width(w), Height(_h))) = terminal_size() {
|
if let Some((Width(w), Height(_h))) = terminal_size() {
|
||||||
@@ -73,6 +74,15 @@ fn get_width_of_terminal() -> usize {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(windows))]
|
||||||
|
fn get_width_of_terminal() -> usize {
|
||||||
|
if let Some((Width(w), Height(_h))) = terminal_size() {
|
||||||
|
w as usize
|
||||||
|
} else {
|
||||||
|
DEFAULT_TERMINAL_WIDTH
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fn get_regex_value(maybe_value: Option<&str>) -> Option<Regex> {
|
fn get_regex_value(maybe_value: Option<&str>) -> Option<Regex> {
|
||||||
match maybe_value {
|
match maybe_value {
|
||||||
Some(v) => match Regex::new(v) {
|
Some(v) => match Regex::new(v) {
|
||||||
|
|||||||
Reference in New Issue
Block a user