release 0.0.2
This commit is contained in:
@@ -59,6 +59,16 @@ tasks:
|
|||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
GOARCH: "{{.ARCH | default ARCH}}"
|
GOARCH: "{{.ARCH | default ARCH}}"
|
||||||
|
|
||||||
|
build:prod:
|
||||||
|
summary: Builds the application natively on Linux
|
||||||
|
deps:
|
||||||
|
- task: build
|
||||||
|
cmds:
|
||||||
|
- upx --best --lzma {{.OUTPUT}}
|
||||||
|
vars:
|
||||||
|
DEFAULT_OUTPUT: "{{.BIN_DIR}}/{{.APP_NAME}}"
|
||||||
|
OUTPUT: "{{ .OUTPUT | default .DEFAULT_OUTPUT }}"
|
||||||
|
|
||||||
build:docker:
|
build:docker:
|
||||||
summary: Builds for Linux using Docker (for non-Linux hosts or when no C compiler available)
|
summary: Builds for Linux using Docker (for non-Linux hosts or when no C compiler available)
|
||||||
internal: true
|
internal: true
|
||||||
|
|||||||
@@ -53,6 +53,13 @@ tasks:
|
|||||||
CGO_ENABLED: '{{.CGO_ENABLED | default "0"}}'
|
CGO_ENABLED: '{{.CGO_ENABLED | default "0"}}'
|
||||||
GOARCH: "{{.ARCH | default ARCH}}"
|
GOARCH: "{{.ARCH | default ARCH}}"
|
||||||
|
|
||||||
|
build:prod:
|
||||||
|
summary: Builds the application for Windows
|
||||||
|
deps:
|
||||||
|
- task: build
|
||||||
|
cmds:
|
||||||
|
- upx --best --lzma "{{.BIN_DIR}}/{{.APP_NAME}}.exe"
|
||||||
|
|
||||||
build:docker:
|
build:docker:
|
||||||
summary: Cross-compiles for Windows using Docker with Zig (for CGO builds on non-Windows)
|
summary: Cross-compiles for Windows using Docker with Zig (for CGO builds on non-Windows)
|
||||||
internal: true
|
internal: true
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ type WindowState struct {
|
|||||||
Maximised bool `mapstructure:"maximised"`
|
Maximised bool `mapstructure:"maximised"`
|
||||||
}
|
}
|
||||||
|
|
||||||
const Version = "0.0.1"
|
const Version = "0.0.2"
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
v *viper.Viper
|
v *viper.Viper
|
||||||
|
|||||||
Reference in New Issue
Block a user