Skip to content

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
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.

3 participants