Move versioncheck so it happens earlier in the compile process.

This commit is contained in:
Nick Craig-Wood 2016-09-11 09:09:20 +01:00
parent 0cb9bb3b54
commit bbf819e2d1
2 changed files with 7 additions and 6 deletions

View File

@ -1,6 +0,0 @@
//+build !go1.5
package cmd
// Upgrade to Go version 1.5 to compile rclone.
func init() { Go_version_1_5_required_for_compilation() }

7
fs/versioncheck.go Normal file
View File

@ -0,0 +1,7 @@
//+build !go1.5
package fs
// Upgrade to Go version 1.5 to compile rclone - latest stable go
// compiler recommended.
func init() { Go_version_1_5_required_for_compilation() }