@@ -8,6 +8,7 @@ Contributions and issue reports are encouraged and appreciated!
8 - [Guidelines for Pull Requests](#guidelines-for-pull-requests)
8 - [Guidelines for Pull Requests](#guidelines-for-pull-requests)
9 - [Code Quality](#code-quality)
9 - [Code Quality](#code-quality)
10 - [Documentation](#documentation)
10 - [Documentation](#documentation)
11+- [Development Environment](#development-environment)
12## Opening Issues
13## Opening Issues
@@ -39,6 +40,7 @@ For breaking changes, new features, refactors, or other major changes, the body
40Wherever possible, pull requests should add a single feature or fix a single bug. Pull requests should not bundle several unrelated changes.
41Wherever possible, pull requests should add a single feature or fix a single bug. Pull requests should not bundle several unrelated changes.
42### Code Quality
44### Code Quality
44#### Warnings
46#### Warnings
@@ -77,3 +79,46 @@ Add an entry to the changelog when your PR:
77#### In the [Readme](README.md)
79#### In the [Readme](README.md)
78The readme is the first place a lot of people look for information about the repository. Update any parts of the readme that are affected by your PR.
80The readme is the first place a lot of people look for information about the repository. Update any parts of the readme that are affected by your PR.
83+## Development Environment
85+You may launch `ghcid` for the corresponding project as follows. For example to launch ghcid for `lib/backend` project:
88+nix-shell -A obeliskEnvs.obelisk-backend --run "cd lib/backend && ghcid"
91+Or to launch ghcid for `lib/command` project:
94+nix-shell -A obeliskEnvs.obelisk-command --run "cd lib/command && ghcid"
97+To re-install `ob` from source do
99+nix-env -f /path/to/obelisk -iA command
102+You can also open a shell with the local version of `ob` available on your `PATH`:
105+nix run -f /path/to/obelisk command
109+Note that `ob` will defer to the version found in your project's `.obelisk/impl` directory. To update that version specifically:
112+ob thunk unpack ./.obelisk/impl
117+If you want to commit your changes, first push them to your fork of obelisk and then
120+cd /your/project/root
121+ob thunk pack .obelisk/impl
122+git add .obelisk/impl
123+git commit -m "Bump obelisk"