Skip to content

Commit

Permalink
Update Roblox StandardLib before lint (#1764)
Browse files Browse the repository at this point in the history
* Generate Roblox standard library before lint

* Generate Roblox standard library before lint

* Update build.sh

* Update build.bat
  • Loading branch information
ccuser44 authored Jan 8, 2025
1 parent ca5d04f commit 3193498
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ IF %ERRORLEVEL% NEQ 0 (
SET ROJO_COMMAND=rojo
)

echo Updating Roblox standard library with %SELENE_COMMAND%
%SELENE_COMMAND% generate-roblox-std

echo Checking for lint errors with %SELENE_COMMAND% from ./Loader and ./MainModule
%SELENE_COMMAND% ./MainModule ./Loader

echo Running %ROJO_COMMAND% build -o Adonis.rbxm
%ROJO_COMMAND% build -o Adonis.rbxm
echo Running %ROJO_COMMAND% build -o Adonis.rbxl
%ROJO_COMMAND% build -o Adonis.rbxl

ENDLOCAL
7 changes: 5 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash

printf "Updating Roblox standard library"
selene generate-roblox-std

printf "Checking for lint errors from ./Loader and ./MainModule"
selene ./Loader ./MainModule

printf "Running rojo build -o Adonis.rbxm"
rojo build -o Adonis.rbxm
printf "Running rojo build -o Adonis.rbxl"
rojo build -o Adonis.rbxl

0 comments on commit 3193498

Please # to comment.