Compare commits

..
Author SHA1 Message Date
dutchie031 0c27905a43 updated the compiler to not leave whitespace when parsing tables
Publish Action Release / Derive release metadata (push) Successful in 4s
Publish Install Lua Addon Action / test_action (push) Successful in 7s
Publish Action Release / Publish tags (push) Successful in 5s
Publish Bundle Script Action / publish_action (push) Successful in 30s
Publish Action Release / Derive release metadata (push) Successful in 3s
Publish Action Release / Publish tags (push) Successful in 6s
Publish Install Lua Addon Action / publish_action (push) Successful in 13s
publish-vs-code-extensions.yml / Publish VS Code Extension (push) Successful in 52s
2026-09-20 12:42:17 +02:00
dutchie031 51cd528040 updates to get it working again
publish-vs-code-extensions.yml / Publish VS Code Extension (push) Successful in 6s
Publish Action Release / Derive release metadata (push) Successful in 6s
Publish Action Release / Publish tags (push) Successful in 10s
Publish Bundle Script Action / publish_action (push) Successful in 23s
2026-09-19 23:01:25 +02:00
dutchie031 7128a44adc updates to get it working again
publish-vs-code-extensions.yml / Publish VS Code Extension (push) Successful in 5s
2026-09-19 23:00:57 +02:00
dutchie031 a46a3bb869 updates to get it working again
Publish Action Release / Derive release metadata (push) Successful in 4s
publish-vs-code-extensions.yml / Publish VS Code Extension (push) Successful in 4s
Publish Action Release / Publish tags (push) Successful in 14s
Publish Bundle Script Action / publish_action (push) Successful in 30s
2026-09-19 22:58:34 +02:00
5 changed files with 12 additions and 6 deletions
+6 -1
View File
@@ -223,10 +223,15 @@ export abstract class CodeBlock {
}
if (tempCursor < fileContent.length && fileContent[tempCursor] === '\n') {
currentBlockString += '\n';
currentBlockString = trimEndPreserveNewlines(currentBlockString) + '\n';
lineCounter++;
lineCursor = 0;
leftCursor = tempCursor + 1;
} else if (tempCursor < fileContent.length && fileContent[tempCursor] === '-' && tempCursor + 1 < fileContent.length && fileContent[tempCursor + 1] === '-') {
// Found a comment after whitespace, trim the whitespace and position at the comment
currentBlockString = trimEndPreserveNewlines(currentBlockString) + '\n';
leftCursor = tempCursor;
lineCursor = tempLineCursor;
} else if (tempCursor > leftCursor) {
// We found whitespace but no newline, so position cursor at last whitespace
leftCursor = tempCursor;
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "dutchies-dcs-scripting-tools",
"displayName": "Dutchies Dcs Scripting Tools",
"description": "Scripting tools to create DCS script and frameworks easier",
"version": "0.2.0",
"version": "0.2.1",
"author": {
"name": "dutchie031",
"email": "54616262+dutchie031@users.noreply.github.com"
+2 -2
View File
@@ -1,4 +1,4 @@
const esbuild = require("esbuild");
import esbuild from "esbuild";
const production = process.argv.includes('--production');
const watch = process.argv.includes('--watch');
@@ -9,7 +9,7 @@ async function main() {
'src/index.ts'
],
bundle: true,
format: 'cjs',
format: 'esm',
minify: production,
sourcemap: !production,
sourcesContent: false,
+2 -1
View File
@@ -1,6 +1,7 @@
{
"name": "gh-scripting-compiler",
"version": "1.1.2",
"version": "1.1.5",
"type": "module",
"main": "dist/index.js",
"scripts": {
"build": "node esbuild.js",
@@ -1,6 +1,6 @@
{
"name": "gh-lua-addon-installer",
"version": "1.1.0",
"version": "1.1.1",
"main": "dist/index.js",
"scripts": {
"build": "node esbuild.js",