scalp-webhooks 0.1.0.0 → 0.1.1.0
raw patch · 3 files changed
+5/−8 lines, 3 filesnew-component:exe:scalp-webhooks
Files
- scalp-webhooks.cabal +3/−6
- src/Main.hs +1/−1
- src/ScalpWebhooks.hs +1/−1
scalp-webhooks.cabal view
@@ -1,8 +1,5 @@--- Initial scalpel.cabal generated by cabal init. For further --- documentation, see http://haskell.org/cabal/users-guide/- name: scalp-webhooks-version: 0.1.0.0+version: 0.1.1.0 -- synopsis: -- description: license: Apache-2.0@@ -19,7 +16,7 @@ source-repository head type: git- location: https://github.com/bobjflong/scalpel.git+ location: https://github.com/bobjflong/scalp-webhooks.git library exposed-modules: ScalpWebhooks, Templating, IntercomDefinitions, Internal@@ -42,7 +39,7 @@ hs-source-dirs: src default-language: Haskell2010 -executable scalpel+executable scalp-webhooks main-is: Main.hs build-depends: base < 5 , scalp-webhooks
src/Main.hs view
@@ -7,7 +7,7 @@ printUsage :: IO () printUsage = mapM_ putStrLn usageLines- where usageLines = ["USAGE: scalpel <definition_type>", "Current definition_types: intercom"]+ where usageLines = ["USAGE: scalp-webhooks <definition_type>", "Current definition_types: intercom"] main = do args <- getArgs
src/ScalpWebhooks.hs view
@@ -117,7 +117,7 @@ success x = putChunkLn $ chunk x & fore green ngrok :: IO ()-ngrok = shelly $ verbosely $ run "ngrok" ["start", "scalpel"] >>= (liftIO . info)+ngrok = shelly $ verbosely $ run "ngrok" ["start", "scalp-webhooks"] >>= (liftIO . info) server :: TVar TopicResult -> IO () server t = void $ concurrently ngrok $ do