would be smart if I actually tested if the damn thing built first

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-07 10:59:01 -07:00
parent d9eb4b1597
commit e268ccd0be
2 changed files with 2 additions and 10 deletions

11
main.go
View File

@ -1,13 +1,13 @@
package main
import "log"
import "fmt"
import "os"
import "time"
import "reflect"
// import "os/signal"
// import "syscall"
// import "runtime"
// import "fmt"
// this is the king of dns libraries
import "github.com/miekg/dns"
@ -95,15 +95,6 @@ func lookupAAAA(hostname string) string {
func main() {
go handleErrors()
// OMG I'm an idiot. of course this does't work
// it's easy to loose your mind trying to make this part of the code work
// epoch := fmt.Sprintf("%d", time.Now().Unix())
// shell.Write("./resources/BUILDDATE", epoch)
// ref := shell.Run("git rev-list -1 HEAD")
// shell.Write("./resources/BUILDREF", ref)
// for {}
// This puts all the files in that directory in the binary
// This directory includes the default config file if there is not already one
packrBox = packr.NewBox("./resources")

1
resources/tags/v0.6.26 Normal file
View File

@ -0,0 +1 @@
d9eb4b1597a13c0d78cf454972df5d2d58b68483