Skip to content

`npm install --save package-name` functionality for `cabal`. Usage: `cabal-install-save package-name`

Notifications You must be signed in to change notification settings

Wizek/cabal-install-save

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

This is a shell script 'solution' I've put together so we can have this functionality even before it is implemented in cabal.

It looks for the latest version of the specified package, adds it to the *.cabal file then does a cabal install --only-dependencies.

Installation:

$ git clone git@github.com:Wizek/cabal-install-save.git
$ # Export to path:
$ echo 'export $PATH:'`pwd`'/cabal-install-save/bin' >> ~/.*hrc

Usage:

$ cd /to/a/cabal/project
$ cabal-install-save foobar

Questions, comments, issues and pull requests are welcome.

About

`npm install --save package-name` functionality for `cabal`. Usage: `cabal-install-save package-name`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages