This commit is contained in:
@@ -10,6 +10,8 @@ RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN go run ./cmd/webui-gen
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
RUN XTEVE_VERSION="$(grep -m1 '^#### ' changelog-beta.md | cut -d' ' -f2 | sed 's/-beta$//')" \
|
||||
|
||||
15
cmd/webui-gen/main.go
Normal file
15
cmd/webui-gen/main.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"xteve/src"
|
||||
)
|
||||
|
||||
func main() {
|
||||
src.HTMLInit("webUI", "src", "html"+string(os.PathSeparator), "src"+string(os.PathSeparator)+"webUI.go")
|
||||
if err := src.BuildGoFile(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user