This commit introduces a new template repository for creating custom HTML elements for the core web3 framework. The template includes a Go backend, an Angular custom element, and a full release cycle configuration. The Go backend is a simple HTTP server that serves the frontend and provides a basic API. The Angular custom element is a simple "Hello, world!" component that can be used as a starting point for more complex elements. The release cycle is configured with GoReleaser and GitHub Actions.
43 lines
1 KiB
YAML
43 lines
1 KiB
YAML
# This is an example .goreleaser.yml file with some sensible defaults.
|
|
# Make sure to check the documentation at https://goreleaser.com
|
|
before:
|
|
hooks:
|
|
# You may remove this if you don't use go modules.
|
|
- go mod tidy
|
|
# you may remove this if you don't need go generate
|
|
- go generate ./...
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
archives:
|
|
- replacements:
|
|
darwin: Darwin
|
|
linux: Linux
|
|
windows: Windows
|
|
386: i386
|
|
amd64: x86_64
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
brews:
|
|
- name: core-element-template
|
|
tap:
|
|
owner: your-username
|
|
name: homebrew-tap
|
|
commit_author:
|
|
name: goreleaserbot
|
|
email: goreleaser@carlosbecker.com
|
|
homepage: "https://github.com/your-username/core-element-template"
|
|
description: "A demo CLI for the core-element-template"
|
|
license: "EUPL-1.2"
|