rasa-example-config (empty) → 0.1.0.0
raw patch · 4 files changed
+82/−0 lines, 4 filesdep +basedep +lensdep +mtlsetup-changed
Dependencies added: base, lens, mtl, rasa, rasa-ext-cursors, rasa-ext-files, rasa-ext-logger, rasa-ext-slate, rasa-ext-status-bar, rasa-ext-style, rasa-ext-vim
Files
- LICENSE +21/−0
- Setup.hs +2/−0
- app/Main.hs +24/−0
- rasa-example-config.cabal +35/−0
+ LICENSE view
@@ -0,0 +1,21 @@+The MIT License++Copyright (c) 2016 Chris Penner++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ app/Main.hs view
@@ -0,0 +1,24 @@+module Main where++import Rasa (rasa)+import Rasa.Ext.Style+import Rasa.Ext.Vim+import Rasa.Ext.Files+import Rasa.Ext.StatusBar+import Rasa.Ext.Logger+import Rasa.Ext.Cursors+import Rasa.Renderer.Slate++-- | This is the main of an executable that runs rasa with the given extensions registered to receive event hooks+-- +-- 'terminalEvents' is an event provider which listens for key-presses etc.+-- The @do@ block is of type 'Rasa.Ext.Scheduler.Scheduler'+main :: IO ()+main = rasa [terminalEvents] $ do+ vim+ statusBar+ files+ cursors+ logger+ slate+ style
+ rasa-example-config.cabal view
@@ -0,0 +1,35 @@+name: rasa-example-config+version: 0.1.0.0+synopsis: Example user config for Rasa+description: Example user config for Rasa+homepage: https://github.com/ChrisPenner/rasa/+license: MIT+license-file: LICENSE+author: Chris Penner+maintainer: christopher.penner@gmail.com+copyright: 2016 Chris Penner+category: Config+build-type: Simple+-- extra-source-files:+cabal-version: >=1.10++executable rasa+ hs-source-dirs: app+ main-is: Main.hs+ build-depends: base >= 4.7 && < 5+ , rasa+ , rasa-ext-vim+ , rasa-ext-style+ , rasa-ext-cursors+ , rasa-ext-status-bar+ , rasa-ext-logger+ , rasa-ext-files+ , rasa-ext-slate+ , lens+ , mtl+ default-language: Haskell2010+ ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N++source-repository head+ type: git+ location: https://github.com/ChrisPenner/rasa