From cdd58cc355470c307bd39956b4516bfadd248fc7 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 20 Aug 2017 22:50:30 +0200 Subject: [PATCH] luacheck: enable cache (#2004) * luacheck: enable cache * Cleanup .gitignore: remove .build* and awesome We only use the "build" dir by now, where also the "awesome" binary gets created. --- .gitignore | 3 +-- .luacheckrc | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d501a67c..83918f47 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ .version_stamp .*.sw? build -.build* -/awesome +.luacheckcache diff --git a/.luacheckrc b/.luacheckrc index 8641cd6c..12721317 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -46,4 +46,7 @@ globals = { "client" } +-- Enable cache (uses .luacheckcache relative to this rc file). +cache = true + -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80