Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
refactored build system
  • Loading branch information
ekmett committed Jan 6, 2013
1 parent 3deb0cd commit e8cba91
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 13 deletions.
1 change: 1 addition & 0 deletions .ghci
@@ -0,0 +1 @@
:set -isrc -idist/build/autogen -optP-include -optPdist/build/autogen/cabal_macros.h
13 changes: 12 additions & 1 deletion .gitignore
@@ -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
@@ -1 +1,8 @@
language: haskell
notifications:
irc:
channels:
- "irc.freenode.org#haskell-lens"
skip_join: true
template:
- "\x0313kan-extensions\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"
31 changes: 31 additions & 0 deletions .vim.custom
@@ -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"
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,9 @@
3.1.1
-----
* Refactored build system
* IRC build-bot notification
* Removed upper bounds on dependencies on my other packages

3.1
---
* Moved `Control.Monad.Free.Church` over to the `free` package instead and removed it from `kan-extensions`
Expand Down
24 changes: 12 additions & 12 deletions kan-extensions.cabal
@@ -1,6 +1,6 @@
name: kan-extensions
category: Data Structures, Monads, Comonads, Functors
version: 3.1.0.2
version: 3.1.1
license: BSD3
cabal-version: >= 1.6
license-file: LICENSE
Expand Down Expand Up @@ -34,21 +34,21 @@ library
TypeFamilies

build-depends:
adjunctions >= 3.0.0.1 && < 3.1,
adjunctions >= 3.0.0.1,
array >= 0.3.0.2 && < 0.5,
base == 4.*,
comonad == 3.0.*,
comonad-transformers == 3.0.*,
comonads-fd == 3.0.*,
comonad >= 3,
comonad-transformers >= 3,
comonads-fd >= 3,
containers >= 0.4 && < 0.6,
contravariant >= 0.2.0.1 && < 0.3,
distributive >= 0.2.2 && < 0.4,
free >= 3.0 && < 3.4,
keys == 3.0.*,
contravariant >= 0.2.0.1,
distributive >= 0.2.2,
free >= 3,
keys >= 3,
mtl >= 2.0.1 && < 2.2,
representable-functors >= 3.0.0.1 && < 3.1,
semigroupoids == 3.0.*,
speculation >= 1.4.1 && < 1.5,
representable-functors >= 3.0.0.1,
semigroupoids >= 3,
speculation >= 1.4.1,
transformers >= 0.2 && < 0.4

exposed-modules:
Expand Down

0 comments on commit e8cba91

Please sign in to comment.