Skip to content

Commit e70e4b7

Browse files
feat: add Lua scripting engine and update GoReleaser configuration for cross-platform builds
1 parent 79ece0e commit e70e4b7

2 files changed

Lines changed: 17 additions & 10 deletions

File tree

.goreleaser.yaml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ builds:
1717

1818
goos:
1919
- linux
20-
- windows
2120
- darwin
21+
- windows
2222

2323
goarch:
2424
- amd64
@@ -36,12 +36,17 @@ builds:
3636
- -X github.com/programmersd21/kairo/internal/buildinfo.Date={{ .CommitDate }}
3737

3838
archives:
39-
- id: default
40-
formats: [tar.gz]
39+
- id: kairo
40+
builds:
41+
- kairo
42+
43+
formats:
44+
- tar.gz
4145

4246
format_overrides:
4347
- goos: windows
44-
formats: [zip]
48+
formats:
49+
- zip
4550

4651
name_template: >-
4752
{{ .ProjectName }}_{{ .Os }}_{{ if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}
@@ -77,6 +82,12 @@ release:
7782
homebrew_casks:
7883
- name: kairo
7984

85+
ids:
86+
- kairo
87+
88+
binaries:
89+
- kairo
90+
8091
repository:
8192
owner: programmersd21
8293
name: kairo_tap
@@ -88,8 +99,4 @@ homebrew_casks:
8899

89100
homepage: "https://github.com/programmersd21/kairo"
90101
description: "Minimal, powerful task management"
91-
license: "MIT"
92-
93-
ids:
94-
- kairo
95-
102+

internal/lua/engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (e *Engine) SetupKairoAPI(L *lua.LState) {
5555
L.SetField(kairo, "notify", L.NewFunction(e.luaNotify))
5656

5757
// Meta
58-
L.SetField(kairo, "version", lua.LString("1.3.0"))
58+
L.SetField(kairo, "version", lua.LString("1.3.1"))
5959

6060
// Set as global
6161
L.SetGlobal("kairo", kairo)

0 commit comments

Comments
 (0)