Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
refactored build system
- Loading branch information
Showing
6 changed files
with
69 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
:set -isrc -idist/build/autogen -optP-include -optPdist/build/autogen/cabal_macros.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*~ | ||
*# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
- "\x0313kan-extensions\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters