about summary refs log tree commit diff
path: root/ccache
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /ccache
chore: init HEAD master
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