/*
-goredo -- redo implementation on pure Go
-Copyright (C) 2020 Sergey Matveev <stargrave@stargrave.org>
+goredo -- djb's redo implementation on pure Go
+Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
)
const (
- Version = "0.5.0"
+ Version = "1.1.0"
Warranty = `This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.
func usage() {
fmt.Fprintf(os.Stderr, versionGet()+`
-Copyright (C) 2020 Sergey Matveev
+Copyright (C) 2020-2021 Sergey Matveev
License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
You can create them by running: goredo -symlinks.
* redo [options] [target ...]
- forcefully and sequentially build specified targets
+ forcefully and *sequentially* build specified targets
* redo-always
always build current target. Unusable outside .do
-* redo-cleanup {full,log,tmp} [...]
+* redo-cleanup [-dry-run] {full,log,tmp} [...]
remove either all goredo's related temporary files, or kept stderr
logs, or everything (including .redo directories) related
* redo-dot target [...]
NO_COLOR -- disable messages colouring
REDO_NO_SYNC -- disable files/directories explicit filesystem syncing
REDO_TOP_DIR -- do not search for .do above that directory
- (it can contain .redo/top as an alternative)`)
+ (it can contain .redo/top as an alternative)
+ REDO_INODE_NO_TRUST -- do not trust inode information (except for size)
+ and always check file's hash`)
}