mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
Integration is a go!
This commit is contained in:
parent
008f50efd7
commit
ea02a5078d
14 changed files with 183 additions and 95 deletions
15
plugin/runTest.lua
Normal file
15
plugin/runTest.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
local loadEnvironment = require("loadEnvironment")
|
||||
|
||||
local testPath = assert((...), "Please specify a path to a test file.")
|
||||
|
||||
local habitat = loadEnvironment()
|
||||
|
||||
local testModule = habitat:loadFromFs(testPath)
|
||||
|
||||
if testModule == nil then
|
||||
error("Couldn't find test file at " .. testPath)
|
||||
end
|
||||
|
||||
print("Starting test module.")
|
||||
|
||||
habitat:require(testModule)
|
||||
Loading…
Add table
Add a link
Reference in a new issue