Commit Graph

12 Commits

Author SHA1 Message Date
Emmanuel Lepage Vallée f63bc97c76
Disable colors in luacheck to make the CI output more readable. (#2865) 2019-09-29 23:01:07 -04:00
Uli Schlachter ae58192951 Move selection API under the "selection" global
This moves selection_acquire to selection.acquire, selection_getter to
selection.getter and selection_watcher to selection.watcher. The only
user-visible change due to this is that type(selection) is now "table"
instead of "function". If that breaks something for you, tough luck.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-02-26 22:16:49 +01:00
Uli Schlachter c3338c5a74 Luacheck: Allow selection_acquire global
Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-02-11 09:21:50 +01:00
mergify[bot] ec47abb4bc
Merge pull request #2639 from psychon/selection_get
Add selection getter objects
2019-02-11 04:00:59 +00:00
Uli Schlachter 3dac3fd1d8 Luacheck: Allow selection_getter global
Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-02-07 18:22:14 +01:00
Uli Schlachter 75e67e1d33 Fix Luacheck warnings
Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-02-06 14:31:57 +01:00
Daniel Hahler cdd58cc355 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.
2017-08-20 22:50:30 +02:00
Kevin Zander 3f6df8ddee Fix Luacheck 0.19.0 release Travis breaks 2017-03-03 16:41:12 -06:00
Daniel Hahler 17fe135a9f luacheck: configure it for .luacheckrc itself 2017-02-16 10:42:25 +01:00
Daniel Hahler 5616fe5f48 CI: fix new issues reported by luacheck 0.18.0 (#1383)
Fixes https://github.com/awesomeWM/awesome/issues/1380.
2017-01-10 17:44:53 +01:00
Emmanuel Lepage Vallee fb5d995775 tests: Fix a luacheck issue. 2016-09-30 09:32:14 +02:00
Uli Schlachter 43dba09c28 Add& use Luacheck support
This commit adds a new "luacheck" target to the Makefiles. This target is
automatically included in "make check" when luacheck is found in $PATH.
Additionally, this includes luacheck in Travis so that the build fails when
luacheck complains about something.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-16 19:45:10 +01:00