Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.
/ hasky-cabal Public archive

*SUSPENDED* Interface to the Cabal package manager

Notifications You must be signed in to change notification settings

hasky-mode/hasky-cabal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hasky Cabal

License GPL 3 MELPA Build Status

This is an Emacs interface to the Cabal Haskell development tool.

Installation

Download this package and place it somewhere, so Emacs can see it. Then put (require 'hasky-cabal) into your configuration file. Done!

It's available via MELPA, so you can just M-x package-install RET hasky-cabal.

Usage

Bind the following useful commands:

(global-set-key (kbd "<next> h e") #'hasky-cabal-execute)
(global-set-key (kbd "<next> h h") #'hasky-cabal-package-action)
  • hasky-cabal-execute opens a popup with a collection of Cabal commands you can run. Many commands have their own sub-popups like in Magit.

  • hasky-cabal-package-action allows to perform actions on package that the user selects from the list of all available packages.

Switchable variables

There is a number of variables that control various aspects of the package. They can be set with setq or via the customization mechanisms. This way one can change their default values. However, sometimes it's desirable to quickly toggle the variables and it's possible to do directly from the popup menus: just hit the key displayed under the “variables” section.

Switchable variables include:

  • hasky-cabal-auto-target—whether to automatically select the default build target (build sub-popup).
  • hasky-cabal-auto-open-coverage-reports—whether to attempt to automatically open coverage report in browser (build sub-popup).
  • hasky-cabal-auto-open-haddocks—whether to attempt to automatically open Haddocks in browser (build sub-popup).
  • hasky-cabal-auto-newest-version—whether to install newest version of package without asking (package action popup).

Customization

There is a number of customization options that are available via M-x customize-group hasky-cabal.

License

Copyright © 2018–2019 Mark Karpov

Distributed under GNU GPL, version 3.

About

*SUSPENDED* Interface to the Cabal package manager

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published