Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed some cabal + licence stuff

  • Loading branch information...
commit 7026325b9431987ec9dcb8a76ac9eb24fece3c17 1 parent d042bcf
Alessandro Vermeulen authored
Showing with 37 additions and 13 deletions.
  1. +19 −0 LICENSE
  2. +1 −3 Main.hs
  3. +7 −1 README
  4. +10 −9 textmatetags.cabal
View
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (C) 2011 by Alessandro Vermeulen <alessandro.vermeulen@me.com>
+
+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.
View
4 Main.hs
@@ -17,10 +17,8 @@ main = do args <- getArgs
exitcode <- waitForProcess procHandle
text <- readFile "/tmp/textmatetags"
- mapM_ (putStrLn) $ sort . nub -- . filter (isPrefixOf current_word)
+ mapM_ (putStrLn) $ sort . nub . filter (isPrefixOf current_word)
$ map (head . words) (lines text)
-
-
else
hPutStrLn stderr "Provide a haskell file and a current word!"
where command file = "echo \":ctags /tmp/textmatetags\" | ghci " ++ file ++" &> /tmp/runtags"
View
8 README
@@ -28,4 +28,10 @@ If your TextMate file is in the root of your source directory, or your TextMate
project has the source folder as its root you are set. If not, place a file
called `.srcdir' in the root of your TextMate project containing on the first
line the location of the source directory relative to the TextMate project
-root.
+root.
+
+GitHub
+------
+The github repository for this project can be found at:
+
+ https://github.com/spockz/Haskell-Code-Completion-for-TextMate
View
19 textmatetags.cabal
@@ -1,18 +1,19 @@
name: textmatetags
-version: 0.0.1
-synopsis: A ctags post-processor for use with textmate
-description: A ctags post-processor for use with textmate
-license: AllRightsReserved
+version: 0.0.1.2
+synopsis: A simple Haskell program to provide tags for Haskell code completion in TextMate
+description: A simple Haskell program to provide tags for Haskell code completion in TextMate
+license: MIT
+license-file: LICENSE
category: Compilers/Interpreters
-copyright: (c) 2008 Utrecht University
+copyright: (c) 2011 Alessandro Vermeulen <alessandro.vermeulen@me.com>
author: Alessandro Vermeulen
maintainer: Alessandro Vermeulen <alessandro.vermeulen@me.com>
stability: provisional
-homepage: -
+homepage: https://github.com/spockz/Haskell-Code-Completion-for-TextMate
build-type: Simple
-cabal-version: >= 1.2
-extra-source-files: Main.hs
+cabal-version: >= 1.4
+extra-source-files: Main.hs README
executable textmatetags
main-is: Main.hs
- build-depends: base>=4, haskell98, process >= 1.0.1.3
+ build-depends: base >=4 && <= 5, haskell98, process >= 1.0.1.3
Please sign in to comment.
Something went wrong with that request. Please try again.