generated from PlexSheep/rs-base
Compare commits
3 Commits
d51c4dde90
...
ee1b849c1b
Author | SHA1 | Date |
---|---|---|
Christoph J. Scherr | ee1b849c1b | |
Christoph J. Scherr | b6ea9e142a | |
Christoph J. Scherr | d331c89a79 |
|
@ -4,7 +4,7 @@ NEW_VERSION=$(cat Cargo.toml | rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1')
|
|||
GIT_COMMIT_SHA=$(git rev-parse HEAD)
|
||||
REPO=${PWD##*/} # name of cwd
|
||||
BODY="
|
||||
$(git log $(git describe --tags --abbrev=0)..HEAD --pretty="- %s" --oneline --decorate)
|
||||
$(git log $(git describe --tags --abbrev=0)..HEAD --pretty="- %s" --oneline --no-decorate)
|
||||
"
|
||||
USER=PlexSheep
|
||||
git tag "v$NEW_VERSION" || echo "could not tag"
|
||||
|
|
11
src/main.rs
11
src/main.rs
|
@ -99,13 +99,10 @@ fn main() {
|
|||
let mut config = Hedu::new(cli.chars, cli.skip, cli.show_identical, cli.limit);
|
||||
// FIXME: find a better way to get the file name
|
||||
// Currently, skipped sources make an extra newline here.
|
||||
match config.chars {
|
||||
false => {
|
||||
println!("{:─^59}", format!(" {} ", cli.data_source[i]));
|
||||
}
|
||||
true => {
|
||||
println!("{:─^80}", format!(" {} ", cli.data_source[i]));
|
||||
}
|
||||
if config.chars {
|
||||
println!("{:─^80}", format!(" {} ", cli.data_source[i]));
|
||||
} else {
|
||||
println!("{:─^59}", format!(" {} ", cli.data_source[i]));
|
||||
}
|
||||
match config.dump(&mut **source) {
|
||||
Ok(()) => (),
|
||||
|
|
Reference in New Issue