packages feed

werewolf-slack 1.0.0.0 → 1.0.1.0

raw patch · 4 files changed

+16/−11 lines, 4 files

Files

CHANGELOG.md view
@@ -2,6 +2,13 @@  ### Upcoming +### v1.0.1.0++*Revisions*++* Changed the default port to 80.+* Removed the binary header and updated the program description.+ ### v1.0.0.0  *Major*
README.md view
@@ -22,7 +22,7 @@ For centuries no-one knew how to fight this scourge, however recently a theory has taken ahold that     mayhaps the Werewolves walk among the Villagers themselves... -Objective of the Game:  +Objective of the game:   For the Loners: complete their own objective.   For the Villagers: lynch all of the Werewolves.   For the Werewolves: devour all of the Villagers.@@ -81,13 +81,13 @@ **With Docker:**  ```bash-docker run -d -p 80:8080 hjwylde/werewolf-slack-docker -v TOKEN -u WEBHOOK_URL+docker run -d -P hjwylde/werewolf-slack-docker -v TOKEN -u WEBHOOK_URL ```  **With werewolf-slack:**  ```bash-werewolf-slack -p 80 -v TOKEN -u WEBHOOK_URL &+werewolf-slack -v TOKEN -u WEBHOOK_URL & ```  #### Configuration@@ -95,7 +95,7 @@ It is possible to also configure the port that werewolf-slack listens on. This is done via the     `--port` (`-p`) option. -The default port is *8080*.+The default port is *80*.  ### Usage 
app/Werewolf/Slack/Options.hs view
@@ -39,7 +39,7 @@  -- | An optparse parser of a werewolf-slack command. werewolfSlackInfo :: ParserInfo Options-werewolfSlackInfo = info (infoOptions <*> werewolfSlack) (fullDesc <> header' <> progDesc')+werewolfSlackInfo = info (infoOptions <*> werewolfSlack) (fullDesc <> progDesc')     where         infoOptions = helper <*> version         version     = infoOption ("Version " ++ showVersion This.version) $ mconcat@@ -47,9 +47,7 @@             , help "Show this binary's version"             ] -        header'     = header "A Slack chat interface for playing werewolf."-        progDesc'   = progDesc-            "The game engine is based off of the party game Mafia, also known as Werewolf."+        progDesc' = progDesc "Runs a simple web server that links the werewolf game engine and Slack integrations"  -- | An options parser. werewolfSlack :: Parser Options@@ -60,7 +58,7 @@         ])     <*> portOption (mconcat         [ long "port", short 'p', metavar "NAT"-        , value 8080, showDefault+        , value 80, showDefault         , help "Specify the port for the server to listen on"         ])     <*> strOption (mconcat
werewolf-slack.cabal view
@@ -1,5 +1,5 @@ name:           werewolf-slack-version:        1.0.0.0+version:        1.0.1.0  author:         Henry J. Wylde maintainer:     public@hjwylde.com@@ -48,4 +48,4 @@         text == 1.2.*,         wai == 3.2.*,         warp == 3.2.*,-        werewolf == 0.5.*+        werewolf >= 0.5 && < 1.1