diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-02-28 00:12:47 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-02-28 00:12:47 -0500 |
commit | 60d2dd318f66563c3ee3bde950d7f53426530acc (patch) | |
tree | c540152a29cc4112124a6432ef77e9d186e39257 /IkiWiki.pm | |
parent | 70972b16874583bb642b093fb9906a0967d69ac3 (diff) | |
download | ikiwiki-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.pm | 7 |
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, |