Skip to content

Commit

Permalink
Adjustments for Go Report
Browse files Browse the repository at this point in the history
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
  • Loading branch information
fubarhouse committed Jul 7, 2017
1 parent c1ca360 commit 7a7ab3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions make/make.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ func (Site *Site) ActionRebuildProject(Makefiles []string, Project string, GitPa
}
}

// CleanCodebase will remove all data from the site path other than the /sites folder and contents.
func (Site *Site) CleanCodebase() {
_ = filepath.Walk(Site.Path, func(path string, Info os.FileInfo, _ error) error {
realpath := strings.Split(Site.Path, "\n")
Expand Down

0 comments on commit 7a7ab3a

Please sign in to comment.