osbuild-image-tests: add missing build constraints

Build constraints must be added to every file. We only want to build
this package when the `integration` tag is set.

Without this, every build prints this warning:

    # github.com/osbuild/osbuild-composer/cmd/osbuild-image-tests
    runtime.main_main·f: function main is undeclared in the main package
This commit is contained in:
Lars Karlitski 2020-03-21 00:45:33 +01:00 committed by Tom Gundersen
parent d808ab484c
commit 1bb8f7eee0
4 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,4 @@
// +build !travis
// +build integration,!travis
package main

View file

@ -1,3 +1,5 @@
// +build integration
package main
import (

View file

@ -1,3 +1,5 @@
// +build integration
package main
import (

View file

@ -1,3 +1,5 @@
// +build integration
package main
import (