git.iko.soy/distributed-process
on fix-spawnChan help sign in
27 lines 480 B history raw
1# CI build
3GHC ?= $(shell which ghc)
4CABAL ?= $(shell which cabal)
6BASE_GIT := git://github.com/haskell-distributed
7REPOS=$(shell cat REPOS | sed '/^$$/d')
9.PHONY: all
10all: $(REPOS)
12$(REPOS):
13 git clone $(BASE_GIT)/$@.git
15.PHONY: install
16install: $(REPOS)
17 $(CABAL) install --with-ghc=$(GHC) $(REPOS) --force-reinstalls
18 $(CABAL) install
20.PHONY: ci
21ci: install test
23.PHONY: test
24test:
25 $(CABAL) configure --enable-tests
26 $(CABAL) build
27 $(CABAL) test --show-details=always