apauley / hsh

Haskell Shell Helpers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Haskell Shell Helpers

Sure, this could also be done with a simple bash alias.

But is your bash alias type-checked?

Building and Running

stack build && stack exec hsh

Build the Executable using Stack within Docker

$ docker run -v ~/.stack:/root/.stack -v ~/.local/bin:/root/.local/bin -v /path/to/hsh:/hsh -it --rm haskell:8.0.1 /bin/bash
$ cd /hsh
$ stack config set system-ghc --global true
$ stack install --allow-different-user

This will copy the hsh executable to ~/.local/bin

About

Haskell Shell Helpers

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%