Optimize file structure
This commit is contained in:
parent
b1880a435c
commit
677cb52715
6 changed files with 6 additions and 8 deletions
|
@ -10,4 +10,4 @@ services:
|
||||||
script:
|
script:
|
||||||
- docker build --no-cache -t niilo/clamav-rest .
|
- docker build --no-cache -t niilo/clamav-rest .
|
||||||
after_success:
|
after_success:
|
||||||
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push niilo/clamav-rest; fi
|
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push niilo/clamav-rest; fi
|
2
Gopkg.lock
generated
2
Gopkg.lock
generated
|
@ -4,4 +4,4 @@ memo = "6d565002a9a2af555327a35b973166b0b4d3cc082fa045bd3917e34205a70a05"
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "github.com/dutchcoders/go-clamd"
|
name = "github.com/dutchcoders/go-clamd"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
revision = "b970184f4d9e88ff402581ec3dd3b9d074cfb90c"
|
revision = "b970184f4d9e88ff402581ec3dd3b9d074cfb90c"
|
|
@ -49,8 +49,6 @@
|
||||||
## what source location any dependent projects specify.
|
## what source location any dependent projects specify.
|
||||||
# source = "https://github.com/myfork/package.git"
|
# source = "https://github.com/myfork/package.git"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[dependencies]]
|
[[dependencies]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "github.com/dutchcoders/go-clamd"
|
name = "github.com/dutchcoders/go-clamd"
|
|
@ -184,4 +184,4 @@ func main() {
|
||||||
}
|
}
|
||||||
fmt.Printf("Listening on port " + opts["PORT"])
|
fmt.Printf("Listening on port " + opts["PORT"])
|
||||||
http.ListenAndServe(":"+opts["PORT"], nil)
|
http.ListenAndServe(":"+opts["PORT"], nil)
|
||||||
}
|
}
|
|
@ -1 +1 @@
|
||||||
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
|
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
|
|
@ -20,4 +20,4 @@ terminate() {
|
||||||
trap terminate CHLD
|
trap terminate CHLD
|
||||||
wait
|
wait
|
||||||
|
|
||||||
exit $exitcode
|
exit $exitcode
|
Loading…
Add table
Reference in a new issue