fixed gitignore which mistakenly omitted the cmd dir
已通過所有檢查
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey Paul 2020-09-30 01:28:06 -07:00
父節點 5526397247
當前提交 d3c104685c
共有 3 個檔案被更改,包括 17 行新增1 行删除

2
.gitignore vendored
查看文件

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

查看文件

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

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))
}