Browse Source

tests

master
Tiago Carvalho 3 years ago
parent
commit
db6c4496e0
2 changed files with 8 additions and 5 deletions
  1. +6
    -3
      Main.hs
  2. +2
    -2
      Tupfile

+ 6
- 3
Main.hs View File

@@ -1,7 +1,10 @@
module Main where

import IRC.Connection (Port)

main :: IO ()
main = cena
main = go
where go = print port

cena :: IO ()
cena = putStrLn "ganda cena mano, de boa velho"
port :: Port
port = 69

+ 2
- 2
Tupfile View File

@@ -1,4 +1,4 @@
include_rules

: foreach *.hs |> ghc $(GHCFLAGS) -c %f |> %B.o %B.hi
: *.o IRC/Connection.o |> ghc -o Main %f |> Main
: foreach *.hs | IRC/*.hi |> ghc $(GHCFLAGS) -c %f |> %B.o %B.hi
: *.o IRC/*.o |> ghc -o Main %f |> Main

Loading…
Cancel
Save