1
0
Fork 0

Adding upstream version 1.2.3.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-22 09:45:13 +02:00
parent 3a3aa427d7
commit e7ed09875d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
58 changed files with 3068 additions and 0 deletions

18
Guardfile Normal file
View file

@ -0,0 +1,18 @@
guard :shell do
watch /^selfupdate\/.+\.go$/ do |m|
puts "#{Time.now}: #{m[0]}"
case m[0]
when /_test\.go$/
parent = File.dirname m[0]
sources = Dir["#{parent}/*.go"].reject{|p| p.end_with? '_test.go'}.join(' ')
system "go test -v -short #{m[0]} #{sources}"
else
system 'go build ./selfupdate/'
end
end
watch /^cmd\/selfupdate-example\/.+\.go$/ do |m|
puts "#{Time.now}: #{m[0]}"
system 'go build ./cmd/selfupdate-example/'
end
end