diff --git a/aftman.toml b/aftman.toml index a3d7a6d..ee1f926 100644 --- a/aftman.toml +++ b/aftman.toml @@ -3,5 +3,4 @@ # To add a new tool, add an entry to this table. [tools] -rojo = "rojo-rbx/rojo@7.2.1" -# rojo = "rojo-rbx/rojo@6.2.0" \ No newline at end of file +rojo = "rojo-rbx/rojo@7.3.0" diff --git a/src/apply.luau b/src/apply.luau index 828f193..252f0cf 100644 --- a/src/apply.luau +++ b/src/apply.luau @@ -1,8 +1,8 @@ local typeof = typeof if not game then - script = require "test/wrap-require" - typeof = require "test/mock".typeof :: any + script = require "test/relative-string" + typeof = require "test/mock".typeof end local graph = require(script.Parent.graph) diff --git a/src/bind.luau b/src/bind.luau index d136697..377e0c5 100644 --- a/src/bind.luau +++ b/src/bind.luau @@ -1,7 +1,7 @@ local warn = warn if not game then - script = require "test/wrap-require" + script = require "test/relative-string" warn = print end diff --git a/src/cleanup.luau b/src/cleanup.luau index 4ae53d6..7c22058 100644 --- a/src/cleanup.luau +++ b/src/cleanup.luau @@ -1,4 +1,4 @@ -if not game then script = require "test/wrap-require" end +if not game then script = require "test/relative-string" end -- todo: verify correct behavior in non-standard usage local cleanup_callbacks = {} :: { [string]: () -> () } diff --git a/src/create.luau b/src/create.luau index 3c3ed71..ab3e93c 100644 --- a/src/create.luau +++ b/src/create.luau @@ -2,7 +2,7 @@ local Instance = Instance local typeof = typeof if not game then - script = require "test/wrap-require" + script = require "test/relative-string" Instance = require("test/mock").Instance typeof = require("test/mock").typeof end diff --git a/src/derive.luau b/src/derive.luau index ca44b43..f3a9ca3 100644 --- a/src/derive.luau +++ b/src/derive.luau @@ -1,4 +1,4 @@ -if not game then script = require "test/wrap-require" end +if not game then script = require "test/relative-string" end local graph = require(script.Parent.graph) local create = graph.create diff --git a/src/graph.luau b/src/graph.luau index 168d8e3..025f8bf 100644 --- a/src/graph.luau +++ b/src/graph.luau @@ -1,4 +1,4 @@ -if not game then script = require "test/wrap-require" end +if not game then script = require "test/relative-string" end local throw = require(script.Parent.throw) local flags = require(script.Parent.flags) diff --git a/src/init.luau b/src/init.luau index 8192958..1e9fe68 100644 --- a/src/init.luau +++ b/src/init.luau @@ -3,7 +3,7 @@ -- v0.1.0 -------------------------------------------------------------------------------- -if not game then script = require "test/wrap-require" end +if not game then script = require "test/relative-string" end local create = require(script.create) local source = require(script.source) diff --git a/src/maps.luau b/src/maps.luau index fe6f8be..ed734b2 100644 --- a/src/maps.luau +++ b/src/maps.luau @@ -1,4 +1,4 @@ -if not game then script = require "test/wrap-require" end +if not game then script = require "test/relative-string" end local throw = require(script.Parent.throw) local flags = require(script.Parent.flags) diff --git a/src/source.luau b/src/source.luau index 93ec8ef..e4a94a4 100644 --- a/src/source.luau +++ b/src/source.luau @@ -1,4 +1,4 @@ -if not game then script = require "test/wrap-require" end +if not game then script = require "test/relative-string" end local graph = require(script.Parent.graph) type Node = graph.Node diff --git a/src/spring.luau b/src/spring.luau index b5f573c..32284ad 100644 --- a/src/spring.luau +++ b/src/spring.luau @@ -1,4 +1,4 @@ -if not game then script = require "test/wrap-require" end +if not game then script = require "test/relative-string" end --[[ diff --git a/src/watch.luau b/src/watch.luau index e18a871..beeae78 100644 --- a/src/watch.luau +++ b/src/watch.luau @@ -1,4 +1,4 @@ -if not game then script = require "test/wrap-require" end +if not game then script = require "test/relative-string" end local graph = require(script.Parent.graph) local set_effect = graph.set_effect diff --git a/test/wrap-require.luau b/test/relative-string.luau similarity index 100% rename from test/wrap-require.luau rename to test/relative-string.luau