mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
b6a8472722
Former-commit-id: a3f2c975184928b042e09a42a2006c54fc3c9026 [formerly 3f80e808255c869732bc31f981f3a9256f151cc7] [formerly facb7e61332d3fb6fb18e5ac36771141474935c8 [formerly 69f11ed80b
]]
Former-commit-id: fd86fb79039c33f22aaf05ca7023c74ad8d0036b [formerly 990a472cde58a891c01d673e1b1fb570b07868f1]
Former-commit-id: 887b84b6134135b268d4aa82d9c65990fc7d86c9
16 lines
302 B
Bash
Executable File
16 lines
302 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
dolint='gometalinter --exclude="rice-box.go" --deadline=300s ./...'
|
|
|
|
if [ "$USE_DOCKER" != "" ]; then
|
|
docker run --rm -itv $(pwd):/src filebrowser/dev sh -c "\
|
|
cp -r /src/. ./ && dep ensure -v -vendor-only && \
|
|
CGO_ENABLED=0 $dolint"
|
|
else
|
|
$dolint
|
|
fi
|