Set up default installs for a stack instance for lib/bin

This commit is contained in:
Ivan Malison 2017-09-08 16:13:40 -07:00
parent 4d86308e92
commit 579a4afdc7
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
4 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,11 @@
name: imalison-global
version: 0.1.0.0
cabal-version: >=1.10
library
hs-source-dirs: .
build-depends: base >= 4.7 && < 5
, split
, containers
, regex-compat
default-language: Haskell2010

View File

@ -1,4 +1,4 @@
#!/usr/bin/env runhaskell
#!/usr/bin/env run_haskell_stack.sh
{-# LANGUAGE OverloadedStrings, AllowAmbiguousTypes #-}
import Control.Monad

View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
echo "$@"
stack build
stack runghc "$@"

View File

@ -0,0 +1,5 @@
resolver: lts-9.3
packages:
- .
extra-deps: []