moffy-samples-gtk3-run 0.1.0.1 → 0.1.0.2
raw patch · 2 files changed
+1/−54 lines, 2 filesdep −moffy-samples
Dependencies removed: moffy-samples
Files
- app/Main.hs +0/−24
- moffy-samples-gtk3-run.cabal +1/−30
− app/Main.hs
@@ -1,24 +0,0 @@-{-# LANGUAGE ImportQualifiedPost #-}-{-# LANGUAGE LambdaCase #-}-{-# OPTIONS_GHC -Wall -fno-warn-tabs #-}--module Main (main) where--import System.Environment-import Control.Moffy.Samples.Boxes-import Control.Moffy.Samples.Boxes.Run.Gtk3-import Control.Moffy.Samples.Followbox-import Control.Moffy.Samples.FollowboxAnother qualified as A-import Control.Moffy.Samples.FollowboxOrigin qualified as O-import Control.Moffy.Samples.Followbox.Run.Gtk3--main :: IO ()-main = getArgs >>= \case- ["boxes"] -> runBoxes boxes- ["followbox"] -> runFollowbox "firefox" followbox- ["followbox-another"] -> runFollowbox' "firefox" A.followbox- ["followbox-origin"] -> runFollowbox "firefox" O.followbox- _ -> putStrLn $- "Usage: moffy_samples [SUBCOMMAND]\n\n" ++- "Commands are\n\tboxes\n" ++- "\tfollowbox\n\tfollowbox-another\n\tfollowbox-origin"
moffy-samples-gtk3-run.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: moffy-samples-gtk3-run-version: 0.1.0.1+version: 0.1.0.2 synopsis: Package to run moffy samples - GTK3 version description: Please see the README on GitHub at <https://github.com/YoshikuniJujo/moffy-samples-gtk3-run#readme> category: Control@@ -59,35 +59,6 @@ , containers , moffy , moffy-samples-events- , random- , simple-cairo- , simple-pango- , stm- , text- , time- , type-flip- , type-set- , union-color- default-language: Haskell2010--executable moffy_samples_gtk3- main-is: Main.hs- other-modules:- Paths_moffy_samples_gtk3_run- autogen-modules:- Paths_moffy_samples_gtk3_run- hs-source-dirs:- app- ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N- build-depends:- base >=4.7 && <5- , c-enum- , c-struct- , containers- , moffy- , moffy-samples- , moffy-samples-events- , moffy-samples-gtk3-run , random , simple-cairo , simple-pango