The hake package

[Tags: gpl, library, program]

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

Properties

Versions0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.9.5, 0.9.9, 1.0, 1.1, 1.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8.1
Dependenciesbase, directory, mtl, old-time, process, yjtools
LicenseGPL
AuthorYoshikuni Jujo
MaintainerYoshikuni Jujo <PAF01143@nifty.ne.jp>
Stabilityexperimental
CategoryDevelopment
Home pagehttp://homepage3.nifty.com/salamander/second/projects/hake/index.xhtml
Executableshake
UploadedMon Oct 20 08:58:53 UTC 2008 by YoshikuniJujo
Downloads1730 total (119 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees