Skip to content

Commit 6377d12

Browse files
authored
Add info on how to run Luacheck without installing it to README.md
1 parent bce761c commit 6377d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Use the Luacheck issue tracker on GitHub to submit bugs, suggestions and questio
111111

112112
## Building and testing
113113

114-
After the Luacheck repo is cloned and changes are made, run `luarocks make` (optionally prepended with `sudo`) from its root directory to install dev version of Luacheck. To test Luacheck, ensure that you have [busted](http://olivinelabs.com/busted/) installed and run `busted`.
114+
After the Luacheck repo is cloned and changes are made, run `luarocks make` (optionally prepended with `sudo`) from its root directory to install dev version of Luacheck. To run Luacheck using sources in current directory without installing it, run `lua -e 'package.path="./src/?.lua;./src/?/init.lua;"..package.path' bin/luacheck.lua ...`. To test Luacheck, ensure that you have [busted](http://olivinelabs.com/busted/) installed and run `busted`.
115115

116116
## License
117117

0 commit comments

Comments
 (0)