Skip to content

Commit

Permalink
Split into own repository
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Oct 8, 2016
1 parent c0d2bf1 commit dc8934a
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist/
dist-newstyle/
.stack-work/
38 changes: 38 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
sudo: false

language: c

env:
- GHCVER=7.8.4 CABALVER=1.22
- GHCVER=7.10.3 CABALVER=1.22
- GHCVER=8.0.1 CABALVER=1.24

addons:
apt:
sources:
- hvr-ghc
packages:
- ghc-7.8.4
- ghc-7.10.3
- ghc-8.0.1
- cabal-install-1.22
- cabal-install-1.24
- libgmp-dev

install:
- (mkdir -p $HOME/.local/bin && cd $HOME/.local/bin && wget https://zalora-public.s3.amazonaws.com/tinc && chmod +x tinc)
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
- ghc --version
- cabal --version
- travis_retry cabal update
- sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config

script:
- tinc
- cabal configure --enable-tests --disable-optimization --ghc-options='-Werror'
- cabal build
- cabal test

cache:
directories:
- $HOME/.tinc/cache
8 changes: 4 additions & 4 deletions servant-js.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ description:
.
Supports deriving functions using vanilla javascript AJAX requests, Angulari, Axios or JQuery.
.
You can find an example <https://github.com/haskell-servant/servant/blob/master/servant-js/examples/counter.hs here>
You can find an example <https://github.com/haskell-servant/servant-js/blob/master/servant-js/examples/counter.hs here>
which serves the generated javascript to a webpage that allows you to trigger
webservice calls.
.
<https://github.com/haskell-servant/servant/blob/master/servant-js/CHANGELOG.md CHANGELOG>
<https://github.com/haskell-servant/servant-js/blob/master/servant-js/CHANGELOG.md CHANGELOG>
license: BSD3
license-file: LICENSE
author: Servant Contributors
Expand All @@ -20,14 +20,14 @@ category: Web
build-type: Simple
cabal-version: >=1.10
homepage: http://haskell-servant.readthedocs.org/
Bug-reports: http://github.com/haskell-servant/servant/issues
Bug-reports: http://github.com/haskell-servant/servant-js/issues
extra-source-files:
include/*.h
CHANGELOG.md
README.md
source-repository head
type: git
location: http://github.com/haskell-servant/servant.git
location: http://github.com/haskell-servant/servant-js.git

flag example
description: Build the example too
Expand Down
7 changes: 0 additions & 7 deletions tinc.yaml

This file was deleted.

0 comments on commit dc8934a

Please sign in to comment.