Skip to content

Commit

Permalink
Prune all spec files when building (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel authored Dec 26, 2024
1 parent 6aacd52 commit d0e27ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .lune/build.luau
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ local function build()
compile(target)

if target == "prod" then
run("rm", { "-rf", `{project.BUILD_PATH}/**/*.spec.luau` })
run("find", { project.BUILD_PATH, "-name", "*.spec.luau", "-type", "f", "-delete" })
end
end

Expand All @@ -25,7 +25,6 @@ if args.watch then
watch({
filePatterns = {
"src/.*%.luau",
"example/.*%.luau",
},
onChanged = build,
})
Expand Down

0 comments on commit d0e27ab

Please sign in to comment.