diff --git a/build.sh b/build.sh index 8dd4d85..9404a0f 100644 --- a/build.sh +++ b/build.sh @@ -7,9 +7,15 @@ rm -rf bin/* architectures=(amd64 arm64) for arch in "${architectures[@]}"; do GOOS=linux GOARCH=$arch go build -o bin/lazyjournal-$version-linux-$arch + GOOS=darwin GOARCH=$arch go build -o bin/lazyjournal-$version-macos-$arch + if [[ $arch == "amd64" ]]; then + GOOS=windows GOARCH=$arch go build -o bin/lazyjournal-$version-windows-$arch + fi done if [[ -n "$2" ]]; then snapcraft --destructive-mode mv "$(ls *.snap)" "bin/$(ls *.snap | sed "s/_/-/g")" fi + +ls -lh bin diff --git a/snapcraft.yaml b/snapcraft.yaml index 14ce932..6b24055 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,11 +1,11 @@ name: lazyjournal version: '0.2.0' -summary: TUI for journalctl, logs in the file system and docker containers +summary: TUI for journalctl, logs in the file system, Docker and Podman containers description: | - Terminal user interface for journalctl, logs in the file system and docker containers for quick viewing and filtering with fuzzy find and regex support. + Terminal user interface for journalctl (tool for reading logs from systemd), logs in the file system, syslog, kernel, Docker and Podman containers for quick viewing and filtering with fuzzy find and regex support (like fzf and grep). base: core20 -confinement: strict +confinement: classic architectures: - amd64 @@ -13,7 +13,6 @@ architectures: apps: lazyjournal: command: bin/lazyjournal - plugs: [system-observe, home, docker-support] parts: lazyjournal: