fixed gitignore which mistakenly omitted the cmd dir
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jeffrey Paul 2020-09-30 01:28:06 -07:00
parent 5526397247
commit d3c104685c
3 changed files with 17 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
httpd
/httpd
debug.log

View File

@ -26,6 +26,7 @@ RUN go mod download
COPY ./ ./
#RUN make lint
RUN find .
RUN make httpd
RUN go mod vendor
RUN tar -c . | bzip2 > /src.tbz2

15
cmd/httpd/main.go Normal file
View File

@ -0,0 +1,15 @@
package main
import (
"os"
"git.eeqj.de/sneak/gohttpserver/httpserver"
)
var Appname string = "CHANGEME"
var Version string
var Buildarch string
func main() {
os.Exit(httpserver.Run(Appname, Version, Buildarch))
}