Skip to content

Commit 862c405

Browse files
committed
fix: update workflow triggers and fix URLs in index.html and LuaBot.json.in
1 parent 1b10c38 commit 862c405

File tree

4 files changed

+9
-19
lines changed

4 files changed

+9
-19
lines changed

.github/workflows/pages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Pages
22

33
on:
44
push:
5-
branches: [ main, vendordep ]
5+
branches: [ main ]
66
paths:
77
- 'vendordep/index.html'
88
workflow_dispatch:

.github/workflows/vendordep.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,7 @@ jobs:
3838
gnupg \
3939
java-common \
4040
libc6-dev \
41-
libgl1-mesa-dev \
42-
libglu1-mesa-dev \
43-
libisl-dev \
44-
libopencv-dev \
45-
libvulkan-dev \
46-
libx11-dev \
47-
libxcursor-dev \
48-
libxi-dev \
49-
libxinerama-dev \
50-
libxrandr-dev \
5141
make \
52-
mesa-common-dev \
5342
ninja-build \
5443
pkg-config \
5544
python3-dev \

vendordep/LuaBot.json.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"uuid": "54bbb5ab-d271-4f09-93f7-b0fe752672c5",
66
"frcYear": "2026",
77
"mavenUrls": [
8-
"https://snidercs.org/luabot/maven/"
8+
"https://maven.luabot.org/"
99
],
10-
"jsonUrl": "https://snidercs.org/luabot/LuaBot.json",
10+
"jsonUrl": "https://maven.luabot.org/LuaBot.json",
1111
"jniDependencies": [],
1212
"javaDependencies": [],
1313
"luaDependencies": [

vendordep/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h2>Installation</h2>
8686

8787
<div class="install-url">
8888
<p><strong>Vendor Dependency URL:</strong></p>
89-
<code>https://snidercs.github.io/luabot/LuaBot.json</code>
89+
<code>https://maven.luabot.org/LuaBot.json</code>
9090
</div>
9191

9292
<h3>Steps:</h3>
@@ -107,10 +107,11 @@ <h2>What Gets Installed</h2>
107107
</ul>
108108

109109
<h2>Example Robot Code</h2>
110-
<pre><code>local TimedRobot = require('wpi.frc.TimedRobot')
110+
<pre><code>local class = require('luabot.class')
111+
local TimedRobot = require('wpi.frc.TimedRobot')
111112
local XboxController = require('wpi.frc.XboxController')
112113

113-
local MyRobot = TimedRobot.new()
114+
local MyRobot = class (TimedRobot)
114115

115116
function MyRobot:robotInit()
116117
self.controller = XboxController.new(0)
@@ -121,13 +122,13 @@ <h2>Example Robot Code</h2>
121122
-- Drive code here
122123
end
123124

124-
return MyRobot</code></pre>
125+
return MyRobot
126+
</code></pre>
125127

126128
<h2>Resources</h2>
127129
<ul>
128130
<li><a href="https://github.com/snidercs/luabot">GitHub Repository</a></li>
129131
<li><a href="https://github.com/snidercs/luabot/blob/main/README.md">Documentation</a></li>
130-
<li><a href="maven/">Maven Repository</a> (for GradleRIO)</li>
131132
</ul>
132133

133134
<div class="footer">

0 commit comments

Comments
 (0)