Remove ShowPlan

It is out of sync with reality, has some disabled tests, and the cost
of getting it up-to-date is too high to be worth it.
This commit is contained in:
Bjørn Erik Pedersen
2016-11-23 16:35:49 +01:00
parent a6d584bfb6
commit ff2498ee89
4 changed files with 1 additions and 249 deletions

View File

@@ -15,7 +15,6 @@ package hugolib
import (
"fmt"
"os"
"strings"
"sync"
@@ -151,16 +150,6 @@ type BuildCfg struct {
whatChanged *whatChanged
}
// Analyze prints a build report to Stdout.
// Useful for debugging.
func (h *HugoSites) Analyze() error {
if err := h.Build(BuildCfg{SkipRender: true}); err != nil {
return err
}
s := h.Sites[0]
return s.ShowPlan(os.Stdout)
}
func (h *HugoSites) renderCrossSitesArtifacts() error {
if !h.multilingual.enabled() {