Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 1.62 KB

README.md

File metadata and controls

72 lines (56 loc) · 1.62 KB

Haskell Cookbook

Chef-solo cookbook to install ghc (The Glasgow Haskell Compiler) and cabal. Installs ghc from package or binary, and cabal from package or source.

TODO: Installs ghc from source.

Platform

  • Ubuntu, Debian

Attributes

TODO: List you cookbook attributes here.

Usage

Just include haskell in your node's run_list:

{
  "haskell":{
    "ghc":{
      "install_method":"binary",
      "version":"7.6.3",
      "prefix_dir":"/u/apps/ghc",
      "cache_dir":"/tmp/ghc"
    },
    "cabal":{
      "install_method":"source",
      "version":"1.16.0.2",
      "cache_dir":"/tmp/cabal"
    }
  },
  "run_list": [
    "recipe[haskell]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors:: Masahiro Yamauchi ([email protected]) Copyright:: 2013, Masahiro Yamauchi License:: Apache 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.