The latest version of hake is 1.3.8.1-0.

hake

Version 0.1 revision 0 uploaded by YoshikuniJujo.

Package meta

Synopsis
ruby : rake = haskell : hake
Description

Like ruby's rake, hake have Hakefile which is Haskell source.

And Hakefile is like rake's Rakefile, and make's Makefile.

Hakefile is just Haskell source code, then you can use all Haskell features.

import Development.Hake
hake_tree = [

 dflt	[ "greeting" ]
 ,
 file	( [ "greeting", "greeting.log" ], [ "hello.o", "good-bye.o" ] ,
		[ "linker -o greeting hello.o good-bye.o" ] )
 ,
 rule	( ".o", ".sfx1",
		\t s -> [ "compiler1 " ++ s ++ " -o " ++ t ] )
 ,
 rule	( ".o", ".sfx2",
		\t s -> [ "compiler2 " ++ s ++ " -o " ++ t ] )
 ,
 task	( "clean" , [ "rm -f *.o greeting greeting.log" ] )

 ]

main = hake hake_tree
Author
Yoshikuni Jujo
Bug reports
n/a
Category
Development
Copyright
n/a
Homepage
http://homepage3.nifty.com/salamander/second/projects/hake/index.xhtml
Maintainer
Yoshikuni Jujo <PAF01143@nifty.ne.jp>
Package URL
http://homepage3.nifty.com/salamander/second/portage/distfiles/hake-0.0.tar.gz
Stability
experimental

Components