summaryrefslogtreecommitdiffstats
path: root/HACKING.markdown
blob: be8e396343a6f0b220a9ab8423425da75f5f88b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Hacking HCl

## Running the tests

Use Bundler to install dependencies before you run the tests:

    gem install bundler
    bundle
    rake test

To view the test coverage:

    rake coverage
    open coverage/index.html

## Running HCl during development

To run HCl in place (e.g. for testing out local changes) you can use bundle exec:

    bundle exec bin/hcl

## Generating API documentation

To generate and view the API documentation:

    rake doc
    open doc/index.html