Skip to content

Commit 180add6

Browse files
committed
feat: binaries for macOS, linux, windows
1 parent a640c9d commit 180add6

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

.goreleaser.yml

+32-1
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,44 @@ before:
77
# you may remove this if you don't need go generate
88
- go generate ./...
99
builds:
10-
- main: ./cmd/lithia
10+
- id: lithia-macos
11+
main: ./cmd/lithia
1112
env:
1213
- CGO_ENABLED=1
1314
goos:
1415
# - linux
1516
# - windows
1617
- darwin
18+
# requires cross-compiler
19+
# brew install FiloSottile/musl-cross/musl-cross --with-aarch64
20+
# brew install mingw-w64
21+
- id: lithia-x-linux-amd64
22+
main: ./cmd/lithia
23+
env:
24+
- CGO_ENABLED=1
25+
- CC=x86_64-linux-musl-gcc
26+
goos:
27+
- linux
28+
goarch:
29+
- amd64
30+
- id: lithia-x-linux-arm64
31+
main: ./cmd/lithia
32+
env:
33+
- CGO_ENABLED=1
34+
- CC=aarch64-linux-musl-gcc
35+
goos:
36+
- linux
37+
goarch:
38+
- arm64
39+
- id: lithia-x-windows-amd64
40+
main: ./cmd/lithia
41+
env:
42+
- CGO_ENABLED=1
43+
- CC=x86_64-w64-mingw32-gcc
44+
goos:
45+
- windows
46+
goarch:
47+
- amd64
1748
archives:
1849
- replacements:
1950
darwin: Darwin

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.0.11
4+
5+
- compiler: binaries for macOS, linux, windows
6+
37
## v0.0.10
48

59
- stdlib: added `arity` to `prelude.Function`

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Currently Lithia is an early proof of concept. Basic language features exist, bu
1919
- [x] Testing library
2020
- [x] Easy installation
2121
- [x] Prebuilt docker image
22-
- [ ] Prebuilt linux binaries
22+
- [x] Prebuilt linux binaries
2323
- [x] Generated docs for stdlib
2424
- [x] Improved performance [#20](https://github.com/vknabel/lithia/pull/20)
2525
- [x] Stack traces [#20](https://github.com/vknabel/lithia/pull/20)

0 commit comments

Comments
 (0)