From 3fb6a22dfd3c1447b7545991948f82f6927d029b Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Fri, 28 Dec 2018 19:08:29 +0000 Subject: [PATCH] fix: move everything to LF License: MIT Signed-off-by: Henrique Dias --- .dockerignore | 6 +-- .goreleaser.yml | 118 ++++++++++++++++++++++----------------------- build/build_all.sh | 2 - 3 files changed, 62 insertions(+), 64 deletions(-) diff --git a/.dockerignore b/.dockerignore index e58dfc40..8767564e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,3 @@ -testdata/ -.github/ -**.git +testdata/ +.github/ +**.git diff --git a/.goreleaser.yml b/.goreleaser.yml index 11518fb4..8b69c4fb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,59 +1,59 @@ -project_name: filebrowser - -build: - env: - - CGO_ENABLED=0 - main: cli/main.go - binary: filebrowser - goos: - - darwin - - linux - - windows - - freebsd - - netbsd - - openbsd - - dragonfly - - solaris - goarch: - - amd64 - - 386 - - arm - - arm64 - goarm: - - 5 - - 6 - - 7 - ignore: - - goos: darwin - goarch: 386 - - goos: openbsd - goarch: arm - - goos: freebsd - goarch: arm - - goos: netbsd - goarch: arm - - goos: solaris - goarch: arm - -archive: - name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}" - format: tar.gz - format_overrides: - - goos: windows - format: zip - -release: - disable: true - -dockers: - - - goos: linux - goarch: amd64 - goarm: '' - image: filebrowser/filebrowser - skip_push: true - tag_templates: - - "{{ .Tag }}" - - latest - extra_files: - - Docker.json +project_name: filebrowser + +build: + env: + - CGO_ENABLED=0 + main: cli/main.go + binary: filebrowser + goos: + - darwin + - linux + - windows + - freebsd + - netbsd + - openbsd + - dragonfly + - solaris + goarch: + - amd64 + - 386 + - arm + - arm64 + goarm: + - 5 + - 6 + - 7 + ignore: + - goos: darwin + goarch: 386 + - goos: openbsd + goarch: arm + - goos: freebsd + goarch: arm + - goos: netbsd + goarch: arm + - goos: solaris + goarch: arm + +archive: + name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}" + format: tar.gz + format_overrides: + - goos: windows + format: zip + +release: + disable: true + +dockers: + - + goos: linux + goarch: amd64 + goarm: '' + image: filebrowser/filebrowser + skip_push: true + tag_templates: + - "{{ .Tag }}" + - latest + extra_files: + - Docker.json diff --git a/build/build_all.sh b/build/build_all.sh index e8954ac8..2540748c 100755 --- a/build/build_all.sh +++ b/build/build_all.sh @@ -25,8 +25,6 @@ if [ "$USE_DOCKER" != "" ]; then filebrowser/dev \ sh -c "\ cd build && \ - dos2unix build_assets.sh && \ - dos2unix build.sh && \ ./build_assets.sh && \ ./build.sh \ "