fixed gitignore which mistakenly omitted the cmd dir
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5526397247
commit
d3c104685c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
httpd
|
||||
/httpd
|
||||
debug.log
|
||||
|
@ -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
15
cmd/httpd/main.go
Normal 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))
|
||||
}
|
Loading…
Reference in New Issue
Block a user