Skip to content

Commit

Permalink
feat: binaries for macOS, linux, windows
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Jan 24, 2022
1 parent a640c9d commit 180add6
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
33 changes: 32 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,44 @@ before:
# you may remove this if you don't need go generate
- go generate ./...
builds:
- main: ./cmd/lithia
- id: lithia-macos
main: ./cmd/lithia
env:
- CGO_ENABLED=1
goos:
# - linux
# - windows
- darwin
# requires cross-compiler
# brew install FiloSottile/musl-cross/musl-cross --with-aarch64
# brew install mingw-w64
- id: lithia-x-linux-amd64
main: ./cmd/lithia
env:
- CGO_ENABLED=1
- CC=x86_64-linux-musl-gcc
goos:
- linux
goarch:
- amd64
- id: lithia-x-linux-arm64
main: ./cmd/lithia
env:
- CGO_ENABLED=1
- CC=aarch64-linux-musl-gcc
goos:
- linux
goarch:
- arm64
- id: lithia-x-windows-amd64
main: ./cmd/lithia
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
goos:
- windows
goarch:
- amd64
archives:
- replacements:
darwin: Darwin
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.0.11

- compiler: binaries for macOS, linux, windows

## v0.0.10

- stdlib: added `arity` to `prelude.Function`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Currently Lithia is an early proof of concept. Basic language features exist, bu
- [x] Testing library
- [x] Easy installation
- [x] Prebuilt docker image
- [ ] Prebuilt linux binaries
- [x] Prebuilt linux binaries
- [x] Generated docs for stdlib
- [x] Improved performance [#20](https://github.com/vknabel/lithia/pull/20)
- [x] Stack traces [#20](https://github.com/vknabel/lithia/pull/20)
Expand Down

0 comments on commit 180add6

Please sign in to comment.