From c5b3af1e993ecbc0e3dde0154cd3bdb3607bb444 Mon Sep 17 00:00:00 2001 From: Night Cat <107802416+MHNightCat@users.noreply.github.com> Date: Mon, 8 Apr 2024 21:29:19 +0800 Subject: [PATCH] Delete unnecessary files --- src/.goreleaser.yaml | 67 -------------------------------------------- superfile.rb | 17 ----------- 2 files changed, 84 deletions(-) delete mode 100644 src/.goreleaser.yaml delete mode 100644 superfile.rb diff --git a/src/.goreleaser.yaml b/src/.goreleaser.yaml deleted file mode 100644 index 24c69ec2..00000000 --- a/src/.goreleaser.yaml +++ /dev/null @@ -1,67 +0,0 @@ -version: 1 - -before: - hooks: - - go mod tidy - -builds: - - main: ./main.go - id: "superfile" - binary: spf - goos: - - linux - - darwin - goarch: - - amd64 - - arm - - arm64 - -nfpms: - - maintainer: NightCat - id: dev - file_name_template: >- - {{ .PackageName }}-{{ .Version }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }} - description: Pretty fancy and modern file manager in terminal . - homepage: https://github.com/MHNightCat/superfile - bindir: /usr/bin - license: MIT - formats: - - deb - dependencies: - - exiftool - - - maintainer: NightCat - id: rpm - file_name_template: >- - {{ .PackageName }}-{{ .Version }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }} - description: Pretty fancy and modern file manager in terminal . - homepage: https://github.com/MHNightCat/superfile - bindir: /usr/bin - license: MIT - formats: - - rpm - dependencies: - - perl-Image-ExifTool - - - maintainer: NightCat - id: archlinux - file_name_template: >- - {{ .PackageName }}-{{ .Version}}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }} - description: Pretty fancy and modern file manager in terminal . - homepage: https://github.com/MHNightCat/superfile - bindir: /usr/bin - license: MIT - formats: - - archlinux - dependencies: - - perl-image-exiftool - -archives: - - format: tar.gz - name_template: >- - {{ .ProjectName }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} - {{- if .Arm }}v{{ .Arm }}{{ end }} \ No newline at end of file diff --git a/superfile.rb b/superfile.rb deleted file mode 100644 index b9fa2d4c..00000000 --- a/superfile.rb +++ /dev/null @@ -1,17 +0,0 @@ -class Superfile < Formula - desc "Modern and pretty fancy file manager for the terminal" - homepage "https://github.com/MHNightCat/superfile" - url "https://github.com/MHNightCat/superfile/archive/refs/tags/v1.0.0.tar.gz" - sha256 "b91aacb0966dacf92efd27d9bbb4aff7d7b4cdc77168a21880aed1db3e456ffe" - - depends_on "exiftool" - - def install - bin.install Dir["bin/*"] - end - - test do - output = shell_output("#{bin}/spf -v") - assert_match("superfile version v1.0.0", output) - end -end