Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local dcs-bios compile #257

Merged
merged 9 commits into from
Sep 28, 2023
Merged

Local dcs-bios compile #257

merged 9 commits into from
Sep 28, 2023

Conversation

jdahlblom
Copy link
Contributor

@jdahlblom jdahlblom commented Sep 27, 2023

OLD: Runs on locally installed lua interpreter.
Possible to generate all JSON without DCS. Complete syntax check on the generation process.
Please comment.

NEW:
Added task in VS Code so that it can be executed via Run and Debug.
Requires local lua 5.1.5 installation.
Information on how to install that is found in Developer Guide.

@charliefoxtwo
Copy link
Member

Are you able to add the runner for this to the vscode workspace configuration? Specifically adding it to launch.json would be really nice. Then we can run it with one click directly from vs code with no environment configuration required.

@jdahlblom
Copy link
Contributor Author

Are you able to add the runner for this to the vscode workspace configuration? Specifically adding it to launch.json would be really nice. Then we can run it with one click directly from vs code with no environment configuration required.

I could try. I was thinking of using DCS lua.exe too.

@charliefoxtwo
Copy link
Member

It's weird, but I'd like to keep the repo as separate from dcs as possible. That way we can run all these things in CI pipelines via github actions.

@jdahlblom
Copy link
Contributor Author

weird

So you would have a local lua installation then.

Moved relevant files to test/compile
@jdahlblom
Copy link
Contributor Author

Got it working. Wow, VS Code is more powerful than I thought.

@jdahlblom
Copy link
Contributor Author

@charliefoxtwo are we good on this one?

@jdahlblom jdahlblom marked this pull request as ready for review September 28, 2023 07:28
@jdahlblom jdahlblom merged commit d5cdd18 into DCS-Skunkworks:master Sep 28, 2023
@jdahlblom jdahlblom deleted the local-dcsbios-compile branch September 28, 2023 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants