diff options
author | Will Thompson <will@willthompson.co.uk> | 2018-07-05 09:54:39 +0100 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2018-07-05 09:57:39 +0100 |
commit | 2eb3cff63e73794078b15c891d8b8b6354a81086 (patch) | |
tree | 0cbdb6b07c1f52be68e98bf7839bc3898aea1e8c | |
parent | 887a8b92580eaf50653162da19bdb8b648a62530 (diff) |
Encourage contributors to use 'stack'
-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 |