aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-02-28 00:12:47 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-02-28 00:12:47 -0500
commit60d2dd318f66563c3ee3bde950d7f53426530acc (patch)
treec540152a29cc4112124a6432ef77e9d186e39257 /IkiWiki.pm
parent70972b16874583bb642b093fb9906a0967d69ac3 (diff)
downloadikiwiki-60d2dd318f66563c3ee3bde950d7f53426530acc.tar
ikiwiki-60d2dd318f66563c3ee3bde950d7f53426530acc.tar.gz
Add new --clean option; this makes ikiwiki remove all built files in the destdir, as well as wrappers and the .ikiwiki directory.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 9df6c90d6..00eadfd98 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -409,6 +409,13 @@ sub getsetup () {
safe => 0,
rebuild => 0,
},
+ clean => {
+ type => "internal",
+ default => 0,
+ description => "running in clean mode",
+ safe => 0,
+ rebuild => 0,
+ },
refresh => {
type => "internal",
default => 0,