latest
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,5 +1,18 @@
|
||||
TESTHOST := nnny-sync-alpha.nebula
|
||||
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
lint:
|
||||
golangci-lint run
|
||||
|
||||
test:
|
||||
rsync -avP --exclude .git --delete ./ root@$(TESTHOST):/root/fastmirror
|
||||
ssh root@$(TESTHOST) "cd /root/fastmirror && make dotest"
|
||||
|
||||
dotest:
|
||||
rm -f /etc/apt/sources.list.d/*
|
||||
cp /root/ubuntu.sources /etc/apt/sources.list.d/
|
||||
go build -o ./fastmirror ./cmd/fastmirror
|
||||
./fastmirror
|
||||
|
||||
|
||||
Reference in New Issue
Block a user