Permalink
Browse files

the "upload" command.

  • Loading branch information...
1 parent 2634fa4 commit a35edd2af6f72c6b7ad73e954e1e1bab8a5a9e2d @kazu-yamamoto committed Dec 26, 2011
Showing with 9 additions and 0 deletions.
  1. +8 −0 CmdDB.hs
  2. +1 −0 Types.hs
View
@@ -108,6 +108,14 @@ commandDB = [
, manual = Nothing
}
, CommandSpec {
+ command = Upload
+ , commandNames = ["upload", "up"]
+ , document = "Uploading tar.gz to HackageDB"
+ , routing = RouteCabal ["upload"]
+ , switches = [(SwNoharm, Just "-c")]
+ , manual = Nothing
+ }
+ , CommandSpec {
command = Unpack
, commandNames = ["unpack"]
, document = "Untar a package in the current directory"
View
@@ -67,6 +67,7 @@ data Command = Sync
| Clean
| Outdated
| Sdist
+ | Upload
| Unpack
| Info
| Deps

0 comments on commit a35edd2

Please sign in to comment.