mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
WIP: Epiphany Refactor (#85)
This commit is contained in:
parent
80b9b7594b
commit
72bc77f1d5
52 changed files with 1145 additions and 2157 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