Skip to content

Commit

Permalink
Merge pull request #137 from alexandear/fix-buildtag
Browse files Browse the repository at this point in the history
Delete obsolete // +build lines
  • Loading branch information
otiai10 committed Jan 18, 2024
2 parents 80e4f76 + 83176c0 commit 441a9cd
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 19 deletions.
1 change: 0 additions & 1 deletion copy_namedpipes.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js
// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion copy_namedpipes_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || plan9 || netbsd || aix || illumos || solaris || js
// +build windows plan9 netbsd aix illumos solaris js

package copy

Expand Down
2 changes: 2 additions & 0 deletions patherror_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build go1.16

package copy

import (
Expand Down
1 change: 0 additions & 1 deletion preserve_ltimes.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !js
// +build !windows,!plan9,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_ltimes_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !js
// +build !windows,!plan9,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_ltimes_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || js || plan9
// +build windows js plan9

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_ltimes_x_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || js || plan9
// +build windows js plan9

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_owner.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9
// +build !windows,!plan9

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_owner_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || plan9
// +build windows plan9

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !darwin && !freebsd && !plan9 && !netbsd && !js
// +build !windows,!darwin,!freebsd,!plan9,!netbsd,!js

// TODO: add more runtimes

Expand Down
1 change: 0 additions & 1 deletion stat_times_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin
// +build darwin

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd
// +build freebsd

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times_js.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build js
// +build js

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build plan9 || netbsd
// +build plan9 netbsd

package copy

Expand Down
1 change: 0 additions & 1 deletion symlink_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js
// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion symlink_test_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || plan9 || netbsd || aix || illumos || solaris || js
// +build windows plan9 netbsd aix illumos solaris js

package copy

Expand Down
2 changes: 1 addition & 1 deletion test/images/alpine.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.14
FROM alpine:3.16

WORKDIR /app

Expand Down
1 change: 0 additions & 1 deletion test_setup_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js
// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion test_setup_x_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || plan9 || netbsd || aix || illumos || solaris || js
// +build windows plan9 netbsd aix illumos solaris js

package copy

Expand Down

0 comments on commit 441a9cd

Please sign in to comment.