diff options
-rw-r--r-- | CONTRIBUTING.md | 21 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 21 insertions, 4 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 35a5b8a..6d91878 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,11 +1,28 @@ Want to get involved? Great! ============================ +Make sure you have an up-to-date Haskell toolchain. I recommend using +[Stack](https://haskellstack.org/) for development. Make sure you run `stack +update` if you install it from a distro package before continuing. + Grab the latest code from git: git clone https://gitlab.freedesktop.org/bustle/bustle.git + cd bustle + +Build it: + + stack build + +Run it: + + stack exec bustle + +Test it: + + stack test -and get stuck in! Please file bugs and merge requests at +Please file bugs and merge requests at <https://gitlab.freedesktop.org/bustle/bustle>. In new code, try to follow @@ -31,7 +48,7 @@ cp dist/bustle-x.y.z* x.y.z/ scp -r x.y.z annarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/bustle/ # Upload source to Hackage -cabal upload +stack upload git push origin --tags master ``` @@ -111,8 +111,8 @@ maintainer-update-messages-pot: data/org.freedesktop.Bustle.appdata.xml.in --join-existing -o po/messages.pot maintainer-make-release: bustle.cabal dist/build/autogen/version.txt - cabal test - cabal sdist + stack test + stack sdist git tag -s -m 'Bustle '`cat dist/build/autogen/version.txt` \ bustle-`cat dist/build/autogen/version.txt` gpg --detach-sign --armor dist/bustle-`cat dist/build/autogen/version.txt`.tar.gz |