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

Adding C# to the build system (using the Mono toolchain) #1012

Merged
merged 6 commits into from
Aug 23, 2023

Conversation

Amaras
Copy link
Member

@Amaras Amaras commented Aug 20, 2023

This is a PR to add C# to our build system, making sure we have a common ground.
I see we have the dotnet sdk, but I could not find the command to compile using it, don't hesitate to close this PR if you give me the proper way.

Because I used Mono, there were a few changes in two files, as Mono doesn't allow functions inside functions, apparently.

This follows from #1011, but might need to be merged before.

@Amaras Amaras added lang: c# C# programming language SCons For SCons-related matters labels Aug 20, 2023
@Amaras
Copy link
Member Author

Amaras commented Aug 20, 2023

Right... @ntindle or @ShadowMitia, do I need to separate the Docker stuff from the SCons stuff for the build to pass?

@ntindle
Copy link
Member

ntindle commented Aug 20, 2023

Docker should probably go in first. I can't remember the exact repo ci we used but if we did it right, it won't use the dockerfile you provide here but the one on the base branch

@ShadowMitia
Copy link
Contributor

FYI: for dotnet you can use this as reference: SebLague/Chess-Challenge#3
But it could be good to support both? I don't really know C# ecosystem well enough.
I don't have an opinion on which one is better to use.

@Amaras
Copy link
Member Author

Amaras commented Aug 22, 2023

There we go, everything builds :)
If someone wants to review it, please do so we can move on

Copy link
Contributor

@ShadowMitia ShadowMitia left a comment

Choose a reason for hiding this comment

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

LGTM

@ShadowMitia ShadowMitia merged commit 59c0b9d into algorithm-archivists:main Aug 23, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang: c# C# programming language SCons For SCons-related matters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants