Permalink
Browse files

adding "Clean".

  • Loading branch information...
1 parent 1345f26 commit 03898e6a01a10469275bb2cec6bde5d1c273a5f7 @kazu-yamamoto committed Mar 7, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 Commands.hs
View
@@ -6,6 +6,7 @@ data Command = Sync
| Installed
| Configure
| Build
+ | Clean
| Info
| Help
deriving (Eq,Show)
@@ -61,6 +62,12 @@ commandDB = [
, routing = RouteProc "cabal" ["build"]
}
, CommandSpec {
+ command = Clean
+ , commandNames = ["clean"]
+ , document = "Cleaning a build directory"
+ , routing = RouteProc "cabal" ["clean"]
+ }
+ , CommandSpec {
command = Info
, commandNames = ["info"]
, document = "Display information of a package"

0 comments on commit 03898e6

Please sign in to comment.