Also set the moonpath for the automation tests
This commit is contained in:
parent
3785cbb3a6
commit
c23c3682aa
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ require 'lunatest'
|
||||||
require 'lfs'
|
require 'lfs'
|
||||||
|
|
||||||
package.path ..= 'include/?.lua;'
|
package.path ..= 'include/?.lua;'
|
||||||
|
package.moonpath ..= 'include/?.moon;'
|
||||||
|
|
||||||
for file in lfs.dir 'tests/modules'
|
for file in lfs.dir 'tests/modules'
|
||||||
require "tests.modules.#{file\gsub '\.[^.]+$', ''}" unless file\sub(1, 1) == '.'
|
require "tests.modules.#{file\gsub '\.[^.]+$', ''}" unless file\sub(1, 1) == '.'
|
||||||
|
|
Loading…
Reference in a new issue