tutorial: compile during CI

This commit is contained in:
Sönke Hahn 2016-01-28 12:27:49 +01:00
parent 4245cb7c4b
commit 5c99396435
4 changed files with 16 additions and 26 deletions

View file

@ -1,11 +0,0 @@
#!/usr/bin/env bash
set -o errexit
# tinc
cabal exec -- ghc -Wall -Werror -outputdir build-output ../api-type.lhs -O0 -c -pgmL markdown-unlit
#cabal exec -- ghc -Wall -Werror -outputdir build-output ../server.lhs -O0 -c -fno-warn-missing-methods -fno-warn-name-shadowing
#cabal exec -- ghc -Wall -Werror -outputdir build-output ../client.lhs -O0 -c -fno-warn-missing-methods -fno-warn-name-shadowing
#cabal exec -- ghc -Wall -Werror -outputdir build-output ../javascript.lhs -O0 -c -fno-warn-missing-methods
#cabal exec -- ghc -Wall -Werror -ibuild-output -outputdir build-output ../docs.lhs -O0 -c -fno-warn-missing-methods

View file

@ -1,15 +0,0 @@
dependencies:
- name: servant
path: ../../../servant
- name: servant-server
path: ../../../servant-server
- name: servant-client
path: ../../../servant-client
- name: servant-js
path: ../../../servant-js
- name: servant-lucid
path: ../../../servant-lucid
- name: servant-docs
path: ../../../servant-docs
- name: servant-foreign
path: ../../../servant-foreign

15
doc/tutorial/tinc.yaml Normal file
View file

@ -0,0 +1,15 @@
dependencies:
- name: servant
path: ../../servant
- name: servant-server
path: ../../servant-server
- name: servant-client
path: ../../servant-client
- name: servant-js
path: ../../servant-js
- name: servant-lucid
path: ../../servant-lucid
- name: servant-docs
path: ../../servant-docs
- name: servant-foreign
path: ../../servant-foreign

View file

@ -8,3 +8,4 @@ servant-server
servant-blaze servant-blaze
servant-lucid servant-lucid
servant-mock servant-mock
doc/tutorial