mirror of
https://github.com/cf-sonr/hway.git
synced 2026-01-12 03:09:14 +00:00
chore: remove build automation configuration
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -8,6 +8,9 @@ dist
|
|||||||
|
|
||||||
# Aider related generated files
|
# Aider related generated files
|
||||||
.aider-context
|
.aider-context
|
||||||
|
CONVENTIONS.md
|
||||||
|
.goreleaser.yaml
|
||||||
|
Taskfile.yml
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
.task
|
.task
|
||||||
|
|||||||
@@ -1,98 +0,0 @@
|
|||||||
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
|
|
||||||
version: 2
|
|
||||||
project_name: hway
|
|
||||||
|
|
||||||
builds:
|
|
||||||
- id: hway
|
|
||||||
main: ./cmd/hway
|
|
||||||
binary: hway
|
|
||||||
goos:
|
|
||||||
- linux
|
|
||||||
- darwin
|
|
||||||
goarch:
|
|
||||||
- amd64
|
|
||||||
- arm64
|
|
||||||
mod_timestamp: "{{ .CommitTimestamp }}"
|
|
||||||
flags:
|
|
||||||
- -mod=readonly
|
|
||||||
- -trimpath
|
|
||||||
ldflags:
|
|
||||||
- -X main.version={{.Version}}
|
|
||||||
- -X main.commit={{.Commit}}
|
|
||||||
- -X main.date={{.Date}}
|
|
||||||
|
|
||||||
archives:
|
|
||||||
- id: hway
|
|
||||||
builds: [hway]
|
|
||||||
name_template: >-
|
|
||||||
hway_{{ .Os }}_{{- if eq .Arch "amd64" }}x86_64
|
|
||||||
{{- else if eq .Arch "386" }}i386
|
|
||||||
{{- else }}{{ .Arch }}{{ end }}
|
|
||||||
format: tar.gz
|
|
||||||
files:
|
|
||||||
- src: README*
|
|
||||||
wrap_in_directory: true
|
|
||||||
|
|
||||||
nfpms:
|
|
||||||
- id: hway
|
|
||||||
package_name: hway
|
|
||||||
file_name_template: "hway_{{ .Os }}_{{ .Arch }}{{ .ConventionalExtension }}"
|
|
||||||
builds: [hway]
|
|
||||||
vendor: Sonr
|
|
||||||
homepage: "https://onsonr.dev"
|
|
||||||
maintainer: "Sonr <support@onsonr.dev>"
|
|
||||||
description: "Sonr Highway is a decentralized, permissionless, and censorship-resistant identity network proxy."
|
|
||||||
license: "Apache 2.0"
|
|
||||||
formats:
|
|
||||||
- rpm
|
|
||||||
- deb
|
|
||||||
- apk
|
|
||||||
dependencies:
|
|
||||||
- ipfs
|
|
||||||
contents:
|
|
||||||
- src: README*
|
|
||||||
dst: /usr/share/doc/hway
|
|
||||||
bindir: /usr/bin
|
|
||||||
section: net
|
|
||||||
priority: optional
|
|
||||||
|
|
||||||
brews:
|
|
||||||
- name: hway
|
|
||||||
ids: [hway]
|
|
||||||
commit_author:
|
|
||||||
name: goreleaserbot
|
|
||||||
email: bot@goreleaser.com
|
|
||||||
directory: Formula
|
|
||||||
caveats: "Run a local hway node and access it with the hway proxy"
|
|
||||||
homepage: "https://onsonr.dev"
|
|
||||||
description: "Sonr is a decentralized, permissionless, and censorship-resistant identity network."
|
|
||||||
dependencies:
|
|
||||||
- name: ipfs
|
|
||||||
repository:
|
|
||||||
owner: onsonr
|
|
||||||
name: homebrew-tap
|
|
||||||
branch: master
|
|
||||||
token: "{{ .Env.GITHUB_PERSONAL_AUTH_TOKEN }}"
|
|
||||||
|
|
||||||
release:
|
|
||||||
github:
|
|
||||||
owner: onsonr
|
|
||||||
name: sonr
|
|
||||||
name_template: "{{ .Tag }} [{{ .Env.RELEASE_DATE }}]"
|
|
||||||
draft: false
|
|
||||||
replace_existing_draft: true
|
|
||||||
replace_existing_artifacts: true
|
|
||||||
extra_files:
|
|
||||||
- glob: ./README*
|
|
||||||
|
|
||||||
dockers:
|
|
||||||
- image_templates:
|
|
||||||
- onsonr/hway:{{ .Tag }}
|
|
||||||
- onsonr/hway:latest
|
|
||||||
- ghcr.io/onsonr/hway:{{ .Tag }}
|
|
||||||
- ghcr.io/onsonr/hway:latest
|
|
||||||
|
|
||||||
announce:
|
|
||||||
telegram:
|
|
||||||
enabled: true
|
|
||||||
chat_id: -1002222617755
|
|
||||||
23
Taskfile.yml
23
Taskfile.yml
@@ -1,23 +0,0 @@
|
|||||||
# https://taskfile.dev
|
|
||||||
|
|
||||||
version: "3"
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
build:
|
|
||||||
cmds:
|
|
||||||
- go build -o ./bin/hway ./cmd/hway
|
|
||||||
sqlc-gen:
|
|
||||||
dir: internal
|
|
||||||
cmds:
|
|
||||||
- sqlc generate
|
|
||||||
silent: true
|
|
||||||
|
|
||||||
templ-gen:
|
|
||||||
cmds:
|
|
||||||
- templ generate
|
|
||||||
silent: true
|
|
||||||
|
|
||||||
pkl-gen:
|
|
||||||
cmds:
|
|
||||||
- pkl-gen-go internal/pkl/App.pkl
|
|
||||||
silent: true
|
|
||||||
Reference in New Issue
Block a user