Skip to content

Commit

Permalink
chore(lune): made scripts adhere to ammended RFC
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev committed Nov 22, 2024
1 parent 72f5e15 commit 7bcef9c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .lune/analyze.luau
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--> Task to typecheck packages using luau-lsp

local task = require("task")
local task = require("./task")

task.new("luau-lsp")
:addArgument("analyze")
Expand Down
2 changes: 1 addition & 1 deletion .lune/fmt.luau
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--> Task to execute StyLua for checking validity of formatting

local task = require("task")
local task = require("./task")

task.new("stylua")
:addArgument("--check")
Expand Down
2 changes: 1 addition & 1 deletion .lune/lint.luau
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--> Task for linting packages using selene

local task = require("task")
local task = require("./task")

task.new("selene"):addArgument("packages"):execute()
7 changes: 3 additions & 4 deletions .lune/test.luau
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
--> Task for running unit-tests using frktest

local frktest = require("@frktest/frktest")
local reporter = require("@frktest/reporters/lune_console_reporter")
local frktest = require("@pkg/frktest")

local requireTests = require("task/requireTests")
local requireTests = require("./task/requireTests")

requireTests("tests")

reporter.init()
frktest._reporters.lune_console_reporter.init()

if not frktest.run() then
print("--------------------")
Expand Down

0 comments on commit 7bcef9c

Please sign in to comment.