Skip to content

Commit

Permalink
refactored build system
Browse files Browse the repository at this point in the history
  • Loading branch information
ekmett committed Jan 6, 2013
1 parent 8b10ec9 commit a7f4808
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 8 deletions.
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
_darcs
dist
docs
wiki
TAGS
tags
wip
.DS_Store
.*.swp
.*.swo
*.o
*.hi
*~
*#
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
language: haskell
notifications:
irc:
channels:
- "irc.freenode.org#haskell-lens"
skip_join: true
template:
- "\x0313comonad-extras\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"
31 changes: 31 additions & 0 deletions .vim.custom
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
" Add the following to your .vimrc to automatically load this on startup

" if filereadable(".vim.custom")
" so .vim.custom
" endif

function StripTrailingWhitespace()
let myline=line(".")
let mycolumn = col(".")
silent %s/ *$//
call cursor(myline, mycolumn)
endfunction

" enable syntax highlighting
syntax on

" search for the tags file anywhere between here and /
set tags=TAGS;/

" highlight tabs and trailing spaces
set listchars=tab:‗‗,trail:‗
set list

" f2 runs hasktags
map <F2> :exec ":!hasktags -x -c --ignore src"<CR><CR>

" strip trailing whitespace before saving
" au BufWritePre *.hs,*.markdown silent! cal StripTrailingWhitespace()

" rebuild hasktags after saving
au BufWritePost *.hs silent! :exec ":!hasktags -x -c --ignore src"
5 changes: 5 additions & 0 deletions CHANGELOG.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
3.0.1
-----
* Removed upper bounds on dependencies on my other packages
* Added IRC build-bot notification
* Automatic tags file support
15 changes: 15 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
comonad-extras
==============

[![Build Status](https://secure.travis-ci.org/ekmett/comonad-extras.png?branch=master)](http://travis-ci.org/ekmett/comonad-extras)

This package provides instances of the classes from [`comonads-fd`](/ekmett/comonads-fd) that require more exotic extensions.

Contact Information
-------------------

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett
15 changes: 8 additions & 7 deletions comonad-extras.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: comonad-extras
category: Control, Comonads
version: 3.0.0.1
version: 3.0.1
license: BSD3
cabal-version: >= 1.6
license-file: LICENSE
Expand Down Expand Up @@ -35,15 +35,16 @@ library
array >= 0.3 && < 0.5,
base >= 4 && < 5,
containers >= 0.4 && < 0.6,
comonad >= 3.0 && < 3.1,
comonad-transformers >= 3.0 && < 3.1,
comonads-fd >= 3.0 && < 3.1,
distributive >= 0.2.2 && < 0.4,
semigroupoids >= 3.0 && < 3.1,
comonad >= 3.0,
comonad-transformers >= 3.0,
comonads-fd >= 3.0,
distributive >= 0.2.2,
semigroupoids >= 3.0,
transformers >= 0.2 && < 0.4

exposed-modules:
Control.Comonad.Store.Zipper
Control.Comonad.Store.Pointer

ghc-options: -Wall
ghc-options: -Wall
hs-source-dirs: src

0 comments on commit a7f4808

Please sign in to comment.