Skip to content

Commit

Permalink
compile examples: small refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
soenkehahn committed Jan 18, 2016
1 parent 0915d16 commit ebb0fc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -29,7 +29,7 @@ install:
- cabal build

script:
- (cd check-code ; make test)
- (cd check-code ; ./check-code.sh)

- ./dist/build/site/site build
- ./dist/build/site/site check
Expand Down
5 changes: 0 additions & 5 deletions check-code/Makefile

This file was deleted.

2 changes: 2 additions & 0 deletions check-code/check-code.sh
Expand Up @@ -2,6 +2,8 @@

set -o errexit

tinc

cabal exec -- ghc -Wall -Werror -outputdir build-output ../tutorial/api-type.lhs -O0 -c
cabal exec -- ghc -Wall -Werror -outputdir build-output ../tutorial/server.lhs -O0 -c -fno-warn-missing-methods -fno-warn-name-shadowing
cabal exec -- ghc -Wall -Werror -outputdir build-output ../tutorial/client.lhs -O0 -c -fno-warn-missing-methods -fno-warn-name-shadowing
Expand Down

0 comments on commit ebb0fc4

Please sign in to comment.