joshuar-go-hass-agent/.devcontainer/postCreate.sh

21 lines
529 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) 2023 Joshua Rich <joshua.rich@gmail.com>
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
# Stop on errors
set -e
cd /workspaces/go-hass-agent && go mod tidy
# Install goreleaser
go install github.com/goreleaser/goreleaser@latest
# Install go build packages
go install golang.org/x/tools/cmd/stringer@latest
go install github.com/fyne-io/fyne-cross@latest
go install golang.org/x/text/cmd/gotext@latest
go install github.com/matryer/moq@latest