From 6afc49a510f7728207ad9faace06239d279daffc Mon Sep 17 00:00:00 2001 From: Antonio Pagano Date: Fri, 21 Jun 2024 12:37:04 -0500 Subject: [PATCH] feature: ading build command --- cmd/build/main.go | 1 + go.mod | 6 +++--- go.sum | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cmd/build/main.go b/cmd/build/main.go index 3fdf480..703a1ee 100644 --- a/cmd/build/main.go +++ b/cmd/build/main.go @@ -23,6 +23,7 @@ func init() { func main() { flag.Parse() + tailo.Setup() tailo.Build( tailo.UseInputPath(input), tailo.UseOutputPath(output), diff --git a/go.mod b/go.mod index 2a8ac46..804e86e 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/paganotoni/tailo -go 1.20 +go 1.21 -require github.com/fsnotify/fsnotify v1.6.0 +require github.com/fsnotify/fsnotify v1.7.0 -require golang.org/x/sys v0.0.0-20220908164124-27713097b956 // indirect +require golang.org/x/sys v0.21.0 // indirect diff --git a/go.sum b/go.sum index 60d7d6e..7bcfc43 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,8 @@ github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= +github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= golang.org/x/sys v0.0.0-20220908164124-27713097b956 h1:XeJjHH1KiLpKGb6lvMiksZ9l0fVUh+AmGcm0nOMEBOY= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=