Remove template files, make them const strings instead

This commit is contained in:
Harshavardhana
2015-01-01 17:31:43 -08:00
parent 024b3a29d3
commit 0212079cd5
6 changed files with 101 additions and 129 deletions
-10
View File
@@ -15,11 +15,6 @@ type source struct {
TempLate template.Template
}
const (
// Relative path from GOPATH default
TEMPLATEREPO = "/src/github.com/minio-io/minio/cmd/new-cmd/templates/"
)
type option struct {
Name string
Definename string
@@ -84,11 +79,6 @@ func main() {
Value: "",
Usage: "Command-separated list of options to build",
},
cli.StringFlag{
Name: "path",
Value: TEMPLATEREPO,
Usage: "Non standard templates path",
},
cli.StringFlag{
Name: "usage",
Value: "",