Dan Anglin
428a59faaa
- Refactor the code for the Download target to reduce repeated code and (hopefully) improve readability. - The code now checks to see if each of the downloaded files already exists. - The verification will always run if enabled regardless of whether the files are already downloaded or not.
11 lines
251 B
Go
11 lines
251 B
Go
//go:build mage
|
|
|
|
package main
|
|
|
|
const (
|
|
configFile string = "./config/services.json"
|
|
rootBuildDir string = "./build"
|
|
templateExtension string = ".gotmpl"
|
|
rootTemplatesDir string = "./templates"
|
|
rootAssetsDir string = "./assets"
|
|
)
|