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

add project path option to the compiler #1826

Merged
merged 4 commits into from
Sep 24, 2022
Merged

Conversation

trippjoe
Copy link
Member

No description provided.

@OpenGOALBot
Copy link
Collaborator

Can one of the admins verify this patch?

@xTVaser
Copy link
Member

xTVaser commented Sep 2, 2022

add to whitelist

@xTVaser xTVaser self-assigned this Sep 13, 2022
@trippjoe
Copy link
Member Author

Realized this isn't useful because we can just set the current working directory for goalc.

@trippjoe trippjoe closed this Sep 16, 2022
@trippjoe trippjoe reopened this Sep 18, 2022
@trippjoe
Copy link
Member Author

Turns out I was wrong to close this.

Copy link
Member

@xTVaser xTVaser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with the suggested change made, works fine. I was able to:

  • open the REPL within the project folder with no args and build the game
  • run the game
  • move goalc to an entirely different folder on an entirely different drive, and have it work with the --proj-path:
    image
    image

goalc/main.cpp Outdated Show resolved Hide resolved
Copy link
Member

@xTVaser xTVaser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the same test as above, didn't have to make any code modifications this time -- looks good to me.

Copy link
Collaborator

@water111 water111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@water111 water111 merged commit 66b1929 into open-goal:master Sep 24, 2022
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.

None yet

4 participants