]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Add support for cabal & stack
authorb3nj4m1n <b3nj4m1n@gmx.net>
Fri, 13 May 2022 01:54:21 +0000 (03:54 +0200)
committerb3nj4m1n <b3nj4m1n@gmx.net>
Fri, 13 May 2022 01:54:21 +0000 (03:54 +0200)
programs/cabal.json [new file with mode: 0644]
programs/stack.json [new file with mode: 0644]

diff --git a/programs/cabal.json b/programs/cabal.json
new file mode 100644 (file)
index 0000000..01444df
--- /dev/null
@@ -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 (file)
index 0000000..d590a3c
--- /dev/null
@@ -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