"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
Factor commands into Makefile
Nick Craig-Wood96e2271cce1e
diff --git a/.travis.yml b/.travis.ymlindex 16ab04c72..2b593cd64 100644--- a/.travis.yml+++ b/.travis.yml@@ -12,12 +12,8 @@ go:- tipinstall:- - go get -t ./...- - go get -u github.com/kisielk/errcheck- - go get -u golang.org/x/tools/cmd/goimports- - go get -u github.com/golang/lint/golint+ - make build_depscript:- make check- - go test ./...- - go test -cpu=2 -race ./...+ - make quicktestdiff --git a/Makefile b/Makefileindex c6ee06890..678ef851d 100644--- a/Makefile+++ b/Makefile@@ -7,16 +7,34 @@ rclone:@go versiongo install -v ./...+# Full suite of integration teststest: rclonego test ./...cd fs && go run test_all.go+# Quick test+quicktest:+ go test ./...+ go test -cpu=2 -race ./...++# Do source code quality checkscheck: rclonego vet ./...errcheck ./...goimports -d . | grep . ; test $$? -eq 1golint ./... | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1+# Get the build dependencies+build_dep:+ go get -t ./...+ go get -u github.com/kisielk/errcheck+ go get -u golang.org/x/tools/cmd/goimports+ go get -u github.com/golang/lint/golint++# Update dependencies+update:+ go get -t -u -f -v ./...+doc: rclone.1 MANUAL.html MANUAL.txtrclone.1: MANUAL.mddiff --git a/RELEASE.md b/RELEASE.mdindex ee7d1b0ed..1ff30d70f 100644--- a/RELEASE.md+++ b/RELEASE.md@@ -8,7 +8,7 @@ Required software for making a release* golint - go get github.com/golang/lintMaking a release- * go get -t -u -f -v ./...+ * make update* make check* make test* make tag