el-get/recipes/hs-mode.rcp
Ryan C. Thompson 7d15faed65 Convert all github recipes to github type
This automated convertsion was done with the following sequence of
commands:

cd recipes
 # Replace :url with :pkgname "user/repo"
perl -iBAK -lape 's{^(\s*):url\s+".*github.com/([^/]+)/([^.]+)\.git"}{$1:pkgname "$2/$3"}' *.rcp
 # Change :type from git to github if recipe has a :pkgname property
for x in *.rcp; do if grep -q ":type.*git" $x && grep -q ":pkgname" $x; then perl -iBAK2 -lape 's/:type\s+git\b/:type github/g' $x; fi; done
 # Clean up backup files
rm -f *BAK *BAK2
cd ..

These commands may be repeated at any time in the future to convert
newly-added recipes.
2012-02-21 15:03:03 -08:00

23 lines
967 B
Plaintext

(:name hs-mode
:description "Haskell editing mode."
:type github
:pkgname "chrisdone/haskell-emacs"
:depends auto-complete
:compile nil
:load-path ("./src/")
:features (hs-align-imports hs-cabal hs-cabal-mode hs-completion hs-config
hs hs-errors hs-faces hs-indent hs-indent-test
hs-interactive-mode hs-lang-en hs-macros
hs-mode hs-move-nested
hs-navigate-imports hs-process hs-project
hs-sort-imports
hs-string hs-tags hs-types hs-ui)
:post-init (lambda ()
(add-to-list 'auto-mode-alist
(cons "\\.hs\\'" 'hs-mode))
(add-to-list 'auto-mode-alist
(cons "\\.cabal\\'" 'hs-cabal-mode)))
)