Skip to content

Commit 22df79b

Browse files
committed
Initial build system.
1 parent b538a2a commit 22df79b

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

diff/Main.hs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import System.Environment
2+
3+
-- | 'main' runs the main program
4+
main :: IO ()
5+
main = print usage
6+
7+
usage = "diffr says hello"

diffr.cabal

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Name: diffr
2+
Version: 0.0
3+
Description: Intelligent diff/patch tool that knows how to copy and move, has an 'r' at the end of its name.
4+
License: GPL-3
5+
License-file: LICENCE
6+
Author: Amaury Couste, Jakub Kozlowski, William Martin
7+
Maintainer:
8+
Build-Type: Simple
9+
Cabal-Version: >=1.2
10+
11+
Executable diffr
12+
Main-is: diff/Main.hs
13+
Build-Depends: base
14+
15+
Executable patchr
16+
Main-is: patch/Main.hs
17+
Build-Depends: base

patch/Main.hs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import System.Environment
2+
3+
-- | 'main' runs the main program
4+
main :: IO ()
5+
main = print usage
6+
7+
usage = "patchr says hello"

0 commit comments

Comments
 (0)