feat(build): move grafana into grafana-server

This commit is contained in:
bergquist
2016-02-15 11:15:38 +01:00
parent da8782a9d0
commit 6e7813f2f8
3 changed files with 3 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ func main() {
setup()
case "build":
pkg := "."
pkg := "./pkg/cmd/grafana-server"
clean()
build(pkg, []string{})

View File

@@ -12,7 +12,6 @@ import (
"syscall"
"time"
"github.com/grafana/grafana/pkg/cmd"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/login"
"github.com/grafana/grafana/pkg/metrics"
@@ -74,7 +73,7 @@ func main() {
go metrics.StartUsageReportLoop()
}
cmd.StartServer()
StartServer()
exitChan <- 0
}

View File

@@ -1,7 +1,7 @@
// Copyright 2014 Unknwon
// Copyright 2014 Torkel Ödegaard
package cmd
package main
import (
"fmt"