mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
fix: move everything to LF (#588)
* fix: move everything to LF
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
* feat: metalinter
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
Former-commit-id: 3e371bf0dc4d8205fd2ab4d1b64328b7659242c0 [formerly 5c776eafad1350b9f55b3417bf63f51d372e1663] [formerly ef8552957375306c1ab58db6cead3fdf92bc1758 [formerly b344efef2d
]]
Former-commit-id: b8e19acffb00ef1546a7005b1956a858038199f2 [formerly 2b9920caa1bf71b44f245ee3d246b41170f5aecf]
Former-commit-id: 36c7a82150c1ca5d528aeb7aadae243661966560
This commit is contained in:
parent
c8b5728743
commit
998dd9430d
@ -1,3 +1,3 @@
|
|||||||
testdata/
|
testdata/
|
||||||
.github/
|
.github/
|
||||||
**.git
|
**.git
|
||||||
|
@ -1,38 +1,38 @@
|
|||||||
{
|
{
|
||||||
"Enable": [
|
"Enable": [
|
||||||
"deadcode",
|
"deadcode",
|
||||||
"gotype",
|
"gotype",
|
||||||
"gotypex",
|
"gotypex",
|
||||||
"ineffassign",
|
"ineffassign",
|
||||||
"interfacer",
|
"interfacer",
|
||||||
"maligned",
|
"maligned",
|
||||||
"megacheck",
|
"megacheck",
|
||||||
"structcheck",
|
"structcheck",
|
||||||
"unconvert",
|
"unconvert",
|
||||||
"varcheck",
|
"varcheck",
|
||||||
"vet"
|
"vet"
|
||||||
],
|
],
|
||||||
"Disable": [
|
"Disable": [
|
||||||
"dupl",
|
"dupl",
|
||||||
"errcheck",
|
"errcheck",
|
||||||
"gochecknoglobals",
|
"gochecknoglobals",
|
||||||
"gochecknoinits",
|
"gochecknoinits",
|
||||||
"goconst",
|
"goconst",
|
||||||
"gocyclo",
|
"gocyclo",
|
||||||
"gofmt",
|
"gofmt",
|
||||||
"goimports",
|
"goimports",
|
||||||
"golint",
|
"golint",
|
||||||
"gosec",
|
"gosec",
|
||||||
"gosimple",
|
"gosimple",
|
||||||
"lll",
|
"lll",
|
||||||
"misspell",
|
"misspell",
|
||||||
"nakedret",
|
"nakedret",
|
||||||
"safesql",
|
"safesql",
|
||||||
"staticcheck",
|
"staticcheck",
|
||||||
"test",
|
"test",
|
||||||
"testify",
|
"testify",
|
||||||
"unparam",
|
"unparam",
|
||||||
"unused",
|
"unused",
|
||||||
"vetshadow"
|
"vetshadow"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
118
.goreleaser.yml
118
.goreleaser.yml
@ -1,59 +1,59 @@
|
|||||||
project_name: filebrowser
|
project_name: filebrowser
|
||||||
|
|
||||||
build:
|
build:
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
main: cli/main.go
|
main: cli/main.go
|
||||||
binary: filebrowser
|
binary: filebrowser
|
||||||
goos:
|
goos:
|
||||||
- darwin
|
- darwin
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
- freebsd
|
- freebsd
|
||||||
- netbsd
|
- netbsd
|
||||||
- openbsd
|
- openbsd
|
||||||
- dragonfly
|
- dragonfly
|
||||||
- solaris
|
- solaris
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
- 386
|
- 386
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
goarm:
|
goarm:
|
||||||
- 5
|
- 5
|
||||||
- 6
|
- 6
|
||||||
- 7
|
- 7
|
||||||
ignore:
|
ignore:
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: 386
|
goarch: 386
|
||||||
- goos: openbsd
|
- goos: openbsd
|
||||||
goarch: arm
|
goarch: arm
|
||||||
- goos: freebsd
|
- goos: freebsd
|
||||||
goarch: arm
|
goarch: arm
|
||||||
- goos: netbsd
|
- goos: netbsd
|
||||||
goarch: arm
|
goarch: arm
|
||||||
- goos: solaris
|
- goos: solaris
|
||||||
goarch: arm
|
goarch: arm
|
||||||
|
|
||||||
archive:
|
archive:
|
||||||
name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}"
|
name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}"
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
|
|
||||||
release:
|
release:
|
||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
dockers:
|
dockers:
|
||||||
-
|
-
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
goarm: ''
|
goarm: ''
|
||||||
image: filebrowser/filebrowser
|
image: filebrowser/filebrowser
|
||||||
skip_push: true
|
skip_push: true
|
||||||
tag_templates:
|
tag_templates:
|
||||||
- "{{ .Tag }}"
|
- "{{ .Tag }}"
|
||||||
- latest
|
- latest
|
||||||
extra_files:
|
extra_files:
|
||||||
- Docker.json
|
- Docker.json
|
||||||
|
@ -25,8 +25,6 @@ if [ "$USE_DOCKER" != "" ]; then
|
|||||||
filebrowser/dev \
|
filebrowser/dev \
|
||||||
sh -c "\
|
sh -c "\
|
||||||
cd build && \
|
cd build && \
|
||||||
dos2unix build_assets.sh && \
|
|
||||||
dos2unix build.sh && \
|
|
||||||
./build_assets.sh && \
|
./build_assets.sh && \
|
||||||
./build.sh \
|
./build.sh \
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user