mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix module layout to make more sense
This commit is contained in:
parent
f3e7e54675
commit
1db06194c7
4 changed files with 6 additions and 5 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
"partitions": {
|
"partitions": {
|
||||||
"plugin": {
|
"plugin": {
|
||||||
"path": "src",
|
"path": "src",
|
||||||
"target": "ReplicatedStorage.Rojo.plugin"
|
"target": "ReplicatedStorage.Rojo.modules.Plugin"
|
||||||
},
|
},
|
||||||
"modules/roact": {
|
"modules/roact": {
|
||||||
"path": "modules/roact/lib",
|
"path": "modules/roact/lib",
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,8 @@
|
||||||
|
|
||||||
-- If you add any dependencies, add them to this table so they'll be loaded!
|
-- If you add any dependencies, add them to this table so they'll be loaded!
|
||||||
local LOAD_MODULES = {
|
local LOAD_MODULES = {
|
||||||
{"src", "Plugin"},
|
{"src", "plugin"},
|
||||||
|
{"modules/promise/lib", "Promise"},
|
||||||
{"modules/testez/lib", "TestEZ"},
|
{"modules/testez/lib", "TestEZ"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -31,7 +32,7 @@ end
|
||||||
-- Load TestEZ and run our tests
|
-- Load TestEZ and run our tests
|
||||||
local TestEZ = habitat:require(Root.TestEZ)
|
local TestEZ = habitat:require(Root.TestEZ)
|
||||||
|
|
||||||
local results = TestEZ.TestBootstrap:run(Root.Plugin, TestEZ.Reporters.TextReporter)
|
local results = TestEZ.TestBootstrap:run(Root.plugin, TestEZ.Reporters.TextReporter)
|
||||||
|
|
||||||
-- Did something go wrong?
|
-- Did something go wrong?
|
||||||
if results.failureCount > 0 then
|
if results.failureCount > 0 then
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local Promise = require(script.Parent.Parent.modules.Promise)
|
local Promise = require(script.Parent.Parent.Promise)
|
||||||
|
|
||||||
local Config = require(script.Parent.Config)
|
local Config = require(script.Parent.Config)
|
||||||
local Version = require(script.Parent.Version)
|
local Version = require(script.Parent.Version)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ local HttpService = game:GetService("HttpService")
|
||||||
|
|
||||||
local HTTP_DEBUG = false
|
local HTTP_DEBUG = false
|
||||||
|
|
||||||
local Promise = require(script.Parent.Parent.modules.Promise)
|
local Promise = require(script.Parent.Parent.Promise)
|
||||||
|
|
||||||
local HttpError = require(script.Parent.HttpError)
|
local HttpError = require(script.Parent.HttpError)
|
||||||
local HttpResponse = require(script.Parent.HttpResponse)
|
local HttpResponse = require(script.Parent.HttpResponse)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue