about summary refs log tree commit diff
path: root/stack
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stack/.stack/config.yaml6
-rw-r--r--stack/.stack/global-project/stack.yaml2
-rwxr-xr-xstack/@install10
3 files changed, 18 insertions, 0 deletions
diff --git a/stack/.stack/config.yaml b/stack/.stack/config.yaml
new file mode 100644
index 0000000..a7d5aec
--- /dev/null
+++ b/stack/.stack/config.yaml
@@ -0,0 +1,6 @@
+templates:
+  params:
+    author-name: Azat Bahawi
+    author-email: azahi@teknik.io
+    copyright: Copyright (C) 2020 Azat Bahawi
+    github-username: azahi
diff --git a/stack/.stack/global-project/stack.yaml b/stack/.stack/global-project/stack.yaml
new file mode 100644
index 0000000..8757b29
--- /dev/null
+++ b/stack/.stack/global-project/stack.yaml
@@ -0,0 +1,2 @@
+packages: []
+resolver: lts-16.22
diff --git a/stack/@install b/stack/@install
new file mode 100755
index 0000000..4a15a25
--- /dev/null
+++ b/stack/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${HOME}/.stack" ] && \
+    mkdir -p "${HOME}/.stack"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    stack

Consider giving Nix/NixOS a try! <3