Skip to content

dag/kibr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kibr Build Status

Development Environment

Prerequisites

Fedora

I have verified that these packages are enough to build the project on Fedora 16:

$ sudo yum install ghc cabal-dev happy pcre-devel

Debian/Ubuntu

I have verified that these steps are enough to build the project on Ubuntu Server 11.10:

$ sudo apt-get install make ghc cabal-install happy libpcre3-dev
$ cabal update
$ export PATH="$HOME/.cabal/bin:$PATH"  # should go in ~/.bashrc too
$ cabal install cabal-dev

Workflow

Note: some changes require passing -B to make, for example if you've added a dependency to Cabal or edited the fixtures.

Automated Verification

$ make
  1. Run cabal check
  2. If needed, set up a cabal-dev environment and install the dependencies into it
  3. Build the application
  4. Run the tests

Web Application

$ make http
  1. Build the application
  2. If needed, import the fixtures to the database
  3. Launch the HTTP server on localhost:8000
$ make watch
  1. Run make http and wait for changes to files tracked by Git
  2. Kill the HTTP server and start over at step one

This requires inotify-tools:

$ sudo {yum,apt-get} install inotify-tools

IRC Bot

$ make irc
  1. Build the application
  2. If needed, import the fixtures to the database
  3. Connect to freenode and join #sampla

Releases

No releases published

Packages

No packages published