Also set the moonpath for the automation tests

This commit is contained in:
Thomas Goyne 2013-05-04 06:26:14 -07:00
parent 3785cbb3a6
commit c23c3682aa
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ require 'lunatest'
require 'lfs'
package.path ..= 'include/?.lua;'
package.moonpath ..= 'include/?.moon;'
for file in lfs.dir 'tests/modules'
require "tests.modules.#{file\gsub '\.[^.]+$', ''}" unless file\sub(1, 1) == '.'