diff --git a/.gitignore b/.gitignore index 115025f..ac794dd 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,9 @@ dist # Aider related generated files .aider-context +CONVENTIONS.md +.goreleaser.yaml +Taskfile.yml # Binaries .task diff --git a/.goreleaser.yaml b/.goreleaser.yaml deleted file mode 100644 index 62087d2..0000000 --- a/.goreleaser.yaml +++ /dev/null @@ -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 " - 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 diff --git a/CONVENTIONS.md b/CONVENTIONS.md deleted file mode 100644 index e69de29..0000000 diff --git a/Taskfile.yml b/Taskfile.yml deleted file mode 100644 index 4dbcb6a..0000000 --- a/Taskfile.yml +++ /dev/null @@ -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