From: b3nj4m1n Date: Fri, 13 May 2022 01:54:21 +0000 (+0200) Subject: Add support for cabal & stack X-Git-Tag: v0.2.0.0~108 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/f1bb6b52d8552c1efc5706789e3950b1c658174d Add support for cabal & stack --- diff --git a/programs/cabal.json b/programs/cabal.json new file mode 100644 index 0000000..01444df --- /dev/null +++ b/programs/cabal.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.cabal", + "movable": true, + "help": "Export the following environment variables:\n\n```bash\nexport CABAL_CONFIG=\"$XDG_CONFIG_HOME\"/cabal/config\nexport CABAL_DIR=\"$XDG_CACHE_HOME\"/cabal\n```\n" + } + ], + "name": "cabal" +} diff --git a/programs/stack.json b/programs/stack.json new file mode 100644 index 0000000..d590a3c --- /dev/null +++ b/programs/stack.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.stack", + "movable": true, + "help": "Export the following environment variables:\n\n```bash\nexport STACK_ROOT=\"$XDG_DATA_HOME\"/stack\n```\n" + } + ], + "name": "stack" +} \ No newline at end of file