Commits

Stefan Saasen committed a68d65b

Update README with link to the article

  • Participants
  • Parent commits 5c814e5
  • Tags v1.0

Comments (0)

Files changed (1)

-Implementing git clone in Haskell
-=================================
+## Implementing git clone in Haskell
 
 
-Profiling
----------
+Source code for the [git clone in Haskell from the bottom up](http://stefan.saasen.me/articles/git-clone-in-haskell-from-the-bottom-up/) article.
 
-    cabal clean
-    cabal configure --enable-executable-profiling
-    cabal build
+## Build
 
-Testing
--------
+To build the binary run
 
-    cabal clean
-    cabal configure --enable-tests
+    cabal configure
     cabal build
-    cabal test
+    
+If any of the dependencies are missing run:
+    
+    cabal install --only-dependencies
+    
+To copy it into the cabal bin directory that should be in the $PATH, run
+    
+    cabal copy
+    
+There is a simple Rakefile that can be used to build the binary and to run the test suite:
+
+    [4832] λ > rake -T
+    rake build     # Build the hgit binary
+    rake clean     # Clean artifacts
+    rake deps      # Install required dependencies
+    rake dev:tags  # Generate a ctags file
+    rake test      # Run the tests