diff --git a/util/sleep/sleep.go b/util/sleep/sleep.go index f36dcd3..8734d30 100644 --- a/util/sleep/sleep.go +++ b/util/sleep/sleep.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !darwin || nosleep +//go:build !darwin || ios || nosleep package sleep diff --git a/util/sleep/sleep_darwin.go b/util/sleep/sleep_macos.go similarity index 97% rename from util/sleep/sleep_darwin.go rename to util/sleep/sleep_macos.go index c71d56d..e891fd3 100644 --- a/util/sleep/sleep_darwin.go +++ b/util/sleep/sleep_macos.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build darwin && !nosleep +//go:build darwin && !ios && !nosleep package sleep