Set up default installs for a stack instance for lib/bin
This commit is contained in:
parent
4d86308e92
commit
579a4afdc7
11
dotfiles/lib/bin/imalison-global.cabal
Normal file
11
dotfiles/lib/bin/imalison-global.cabal
Normal 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
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env runhaskell
|
||||
#!/usr/bin/env run_haskell_stack.sh
|
||||
{-# LANGUAGE OverloadedStrings, AllowAmbiguousTypes #-}
|
||||
|
||||
import Control.Monad
|
||||
|
6
dotfiles/lib/bin/run_haskell_stack.sh
Executable file
6
dotfiles/lib/bin/run_haskell_stack.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
||||
echo "$@"
|
||||
stack build
|
||||
stack runghc "$@"
|
5
dotfiles/lib/bin/stack.yaml
Normal file
5
dotfiles/lib/bin/stack.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
resolver: lts-9.3
|
||||
|
||||
packages:
|
||||
- .
|
||||
extra-deps: []
|
Loading…
Reference in New Issue
Block a user