diff --git a/.air.toml b/.air.toml deleted file mode 100644 index 5a3c060..0000000 --- a/.air.toml +++ /dev/null @@ -1,46 +0,0 @@ -root = "." -testdata_dir = "testdata" -tmp_dir = "tmp" - -[build] - args_bin = [] - bin = "./main" - cmd = "make build" - delay = 1000 - exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules"] - exclude_file = [] - exclude_regex = ["_test.go"] - exclude_unchanged = false - follow_symlink = false - full_bin = "" - include_dir = [] - include_ext = ["go", "tpl", "tmpl", "html"] - include_file = [] - kill_delay = "0s" - log = "build-errors.log" - poll = false - poll_interval = 0 - post_cmd = [] - pre_cmd = [] - rerun = false - rerun_delay = 500 - send_interrupt = false - stop_on_error = false - -[color] - app = "" - build = "yellow" - main = "magenta" - runner = "green" - watcher = "cyan" - -[log] - main_only = false - time = false - -[misc] - clean_on_exit = false - -[screen] - clear_on_rebuild = false - keep_scroll = true diff --git a/.goreleaser.yml b/.goreleaser.yml deleted file mode 100644 index e001bf5..0000000 --- a/.goreleaser.yml +++ /dev/null @@ -1,42 +0,0 @@ -version: 2 -before: - hooks: - - go mod tidy - -env: - - PACKAGE_PATH=github.com///cmd - -builds: -- binary: "{{ .ProjectName }}" - main: ./cmd/api - goos: - - darwin - - linux - - windows - goarch: - - amd64 - - arm64 - env: - - CGO_ENABLED=0 - ldflags: - - -s -w -X {{.Env.PACKAGE_PATH}}={{.Version}} -release: - prerelease: auto - -universal_binaries: -- replace: true - -archives: - - name_template: > - {{- .ProjectName }}_{{- .Version }}_{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "386" }}i386{{- else }}{{ .Arch }}{{ end }}{{- if .Arm }}v{{ .Arm }}{{ end -}} - format_overrides: - - goos: windows - format: zip - builds_info: - group: root - owner: root - files: - - README.md - -checksum: - name_template: 'checksums.txt'