18 lines
526 B
Ruby
18 lines
526 B
Ruby
|
class RsyncTimeBackup < Formula
|
||
|
desc "Time Machine-style backup for the terminal using rsync"
|
||
|
homepage "https://github.com/laurent22/rsync-time-backup"
|
||
|
url "https://github.com/laurent22/rsync-time-backup/archive/v1.1.5.tar.gz"
|
||
|
sha256 "567f42ddf2c365273252f15580bb64aa3b3a8abb4a375269aea9cf0278510657"
|
||
|
|
||
|
bottle :unneeded
|
||
|
|
||
|
def install
|
||
|
bin.install "rsync_tmbackup.sh"
|
||
|
end
|
||
|
|
||
|
test do
|
||
|
output = shell_output("#{bin}/rsync_tmbackup.sh --rsync-get-flags")
|
||
|
assert_match "--times --recursive", output
|
||
|
end
|
||
|
end
|