tarantoolapp icon indicating copy to clipboard operation
tarantoolapp copied to clipboard

Refactoring: remove Lua path-related duplicate code in **/test.sh and **/init.lua

Open bofm opened this issue 7 years ago • 1 comments

There is the same code piece in Bash repeated in test.sh in basic/ and vshard/ templates. Also there seems to be the same code in Lua in **/init.lua. Those pieces of code are related to Lua path and cpath definition. It would be great if that code was moved to a single place to avoid copy-paste.

bofm avatar Jul 03 '18 13:07 bofm

I agree on that, currently I'm thinking of a better way to add paths to make it relatively simple and obvious to understand where everything comes from.

igorcoding avatar Jul 03 '18 13:07 igorcoding