Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Keep the site license copy identical to LICENSE and test it

Nguyen Xuan Anf66c631a9bee
diff --git a/public/license.txt b/public/license.txt
index 68dd4f77..ea755f94 100644
--- a/public/license.txt
+++ b/public/license.txt
@@ -1,7 +1,6 @@
MIT License
Copyright (c) 2026 CodePawl
-Bundled gl-matrix: Copyright (c) 2015-2025, Brandon Jones, Colin MacKenzie IV.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-
-This license covers the authored source code. WALL-E character rights belong
-to Disney/Pixar. No ownership of that character is claimed.
diff --git a/tests/license-site-copy.test.js b/tests/license-site-copy.test.js
new file mode 100644
index 00000000..ffe1229c
--- /dev/null
+++ b/tests/license-site-copy.test.js
@@ -0,0 +1,12 @@
+import test from 'node:test';
+import assert from 'node:assert/strict';
+import { readFile } from 'node:fs/promises';
+
+test('public/license.txt is byte-identical to LICENSE', async () => {
+ const repositoryLicense = await readFile(new URL('../LICENSE', import.meta.url));
+ const siteLicense = await readFile(new URL('../public/license.txt', import.meta.url));
+ assert.ok(
+ repositoryLicense.equals(siteLicense),
+ 'public/license.txt differs from LICENSE; copy LICENSE over it so the site shows the same text',
+ );
+});