Skip to content

CI: add test workflow #559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update go fmt
  • Loading branch information
Maurizio Branca committed Sep 17, 2020
commit dfcbf9b915ebf94bca7bd90d675a0b961bdca247
1,660 changes: 830 additions & 830 deletions icon/icondarwin.go

Large diffs are not rendered by default.

2,220 changes: 1,110 additions & 1,110 deletions icon/iconlinux.go

Large diffs are not rendered by default.

6,148 changes: 3,074 additions & 3,074 deletions icon/iconwin.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion icon/make_icon.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ IF NOT EXIST %GOPATH%\bin\2goarray.exe GOTO INSTALL
IF "%1"=="" GOTO NOICO
IF NOT EXIST %1 GOTO BADFILE
ECHO Creating iconwin.go
ECHO //+build windows > iconwin.go
ECHO // +build windows > iconwin.go
ECHO. >> iconwin.go
TYPE %1 | %GOPATH%\bin\2goarray Data icon >> iconwin.go
GOTO DONE
Expand Down
2 changes: 1 addition & 1 deletion icon/make_icon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi

OUTPUT=iconunix.go
echo Generating $OUTPUT
echo "//+build linux darwin" > $OUTPUT
echo "// +build linux darwin" > $OUTPUT
echo >> $OUTPUT
cat "$1" | $GOPATH/bin/2goarray Data icon >> $OUTPUT
if [ $? -ne 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion v2/pkgs/indexes.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (c *Indexes) List(context.Context) ([]string, error) {
for _, file := range files {
// Select only files that begin with http
decodedFileName, _ := b64.URLEncoding.DecodeString(file.Name())
fileName:=string(decodedFileName)
fileName := string(decodedFileName)
if !strings.HasPrefix(fileName, "http") {
continue
}
Expand Down