summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-30 18:06:40 +0200
committeraktersnurra <grydholm@kth.se>2022-04-30 18:06:40 +0200
commit86cfff221bd1d70d1b8e6860b3078b159b995c18 (patch)
treed389e8587c6d8fd3485b8872e9fdbe83fdfad5f9 /fnl/install.fnl
parent04a2de0ea4f54ea38b7d24f35eaebded352e33a5 (diff)
refactor(install): mv install to util module
Diffstat (limited to 'fnl/install.fnl')
-rw-r--r--fnl/install.fnl18
1 files changed, 0 insertions, 18 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl
deleted file mode 100644
index 6f37ae8..0000000
--- a/fnl/install.fnl
+++ /dev/null
@@ -1,18 +0,0 @@
-;; Installs plugins with packer.
-(module install
- {autoload {a aniseed.core
- packer packer
- plugins plugins
- util util}})
-
-(defn- sync []
- (if (= util.num-plugins 3)
- (packer.sync)))
-
-(defn- install []
- (packer.startup (fn [use]
- (each [plugin opts (pairs plugins.plugins)]
- (use (a.assoc opts 1 plugin))))))
-
-(install)
-(sync)