Short tutorial for hake

updated at Sat Jan 10 10:14:26 JST 2009

I'm sorry. My English is bad.

contents

0. first of all

1. first sample

1.1. prepare for first sample

1.2. write Hakefile and run hake

2. use rule sample

2.1. use rule

2.2. sample

2.3. FunSetRaw

2.4. try

3. use default sample

3.1. dflt function

3.2. try

4. use addDeps sample

4.1. addDeps function

4.2. try

5. use ruleSS sample

5.1. ruleSS function

5.2. try

6. use ruleV sample

6.1. ruleV function

6.2. try

7. use getVals sample

7.1. getVals function

7.2. try

8. file again

8.1. file function

8.2. try

9. use getNewers

9.1. FunSetIO

9.2. getNewers function

9.3. try

10. use module

10.1. files

10.2. try

11. use hakefileIs

11.1. hakefileIs function

11.2. try

11.3. and something

12. use delRules

12.1. delRules function

12.2. try

13. use -f option

13.1. files

13.2. try

0. first of all

Please get and install hake by your favorite way.

If your distribution doesn't have package of hake, you should use cabal directly.

If installing succeed, you can done following command.

> hake --version
hake 1.2