about summary refs log tree commit diff
path: root/ccache
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ccache/.ccache/ccache.conf1
-rwxr-xr-xccache/@install10
2 files changed, 11 insertions, 0 deletions
diff --git a/ccache/.ccache/ccache.conf b/ccache/.ccache/ccache.conf
new file mode 100644
index 0000000..41ceb8d
--- /dev/null
+++ b/ccache/.ccache/ccache.conf
@@ -0,0 +1 @@
+max_size = 4.0G
diff --git a/ccache/@install b/ccache/@install
new file mode 100755
index 0000000..4c90d4f
--- /dev/null
+++ b/ccache/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${HOME}/.ccache" ] && \
+    mkdir -p "${HOME}/.ccache"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    ccache

Consider giving Nix/NixOS a try! <3