mirror of
https://github.com/danog/gojekyll.git
synced 2024-11-26 23:14:40 +01:00
11 lines
279 B
Go
11 lines
279 B
Go
package commands
|
|
|
|
import "github.com/osteele/gojekyll/site"
|
|
|
|
var clean = app.Command("clean", "Clean the site (removes site output) without building.")
|
|
|
|
func cleanCommand(site *site.Site) error {
|
|
logger.label("Cleaner:", "Removing %s...", site.DestDir())
|
|
return site.Clean()
|
|
}
|