Skip to content

Commit

Permalink
Remove some lingering artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Nov 9, 2024
1 parent 5958f00 commit 8f76cfb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
8 changes: 1 addition & 7 deletions .lune/build.luau
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
local fs = require("@lune/fs")
local process = require("@lune/process")

local clean = require("./lib/clean")
local compile = require("./lib/compile")
local constants = require("./lib/constants")
local getPluginsPath = require("./lib/getPluginsPath")
local parseArgs = require("./lib/parseArgs")
local process = require("@lune/process")
local run = require("./lib/run")
local watch = require("./lib/watcher/watch")

Expand All @@ -18,10 +16,6 @@ local output = if args.output then args.output else `{getPluginsPath(process.os)
assert(typeof(output) == "string", `bad value for output (string expected, got {typeof(output)})`)

local function build()
if not fs.isDir("Packages") then
run("lune", { "run", "wally-install" })
end

clean()
compile(target)

Expand Down
1 change: 0 additions & 1 deletion example/ArrayControls.story.luau
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ return {
react = React,
reactRoblox = ReactRoblox,
story = function(props: Props)
print(props.controls)
return React.createElement("TextLabel", {
Text = props.controls.font.Name,
Font = props.controls.font,
Expand Down
1 change: 0 additions & 1 deletion src/Storybook/StoryPreview.luau
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ local StoryPreview = React.forwardRef(function(providedProps: Props, ref: any)

React.useEffect(function(): (() -> ())?
if props.story and ref.current then
-- TODO: Rendering before controls are applied
local success, result = xpcall(function()
lifecycle.current = Storyteller.render(ref.current, props.story)
end, debug.traceback)
Expand Down

0 comments on commit 8f76cfb

Please sign in to comment.