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

.NET template #58

Merged
merged 2 commits into from
Jan 8, 2024
Merged

.NET template #58

merged 2 commits into from
Jan 8, 2024

Conversation

Smaug123
Copy link
Contributor

@Smaug123 Smaug123 commented Jan 9, 2023

Don't know if you're interested in having more templates, but this one has served me well for (not-very-serious) .NET stuff.

Conform to template submission guidelines
@Smaug123 Smaug123 requested a review from garbas as a code owner January 9, 2023 22:40
@@ -17,3 +17,4 @@
/.github/CODEOWNERS @garbas

/full @tomberek
/dotnet @Smaug123
Copy link
Contributor Author

Choose a reason for hiding this comment

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

(Note that since I don't have write access to the repo, this CODEOWNERS line is actually useless, but it's what was in the instructions.)

src = ./.;
projectFile = projectFile;
nugetDeps = ./nix/deps.nix;
doCheck = true;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe an upstream bug actually causes the tests not to be run, but it is documented to work and the argument is accepted, so I'm inclined to just put down what's clearly meant to be correct.

Copy link
Member

@kindrowboat kindrowboat left a comment

Choose a reason for hiding this comment

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

Perhaps this should be called fsharp-dotnet? Presumably there could be a mono-dotnet.

* `nix develop . --command alejandra .` to run the [Alejandra](https://github.com/kamadorueda/alejandra) Nix source formatter.
* `nix develop . --command markdown-link-check README.md` to check that this README's links are not broken.
* `nix develop . --command bash -c "find . -type f -name '*.sh' | xargs shellcheck"` to check all shell scripts in this repository.
* `nix run . --` to run the application.
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if this should specify this as nix run . -- [ARGS] and say that the included HelloWorld application requires on argument.

@tomberek
Copy link
Collaborator

tomberek commented Jan 8, 2024

Merging as-is due to it adding value. I removed the lock per PR 72. Sorry for the late response/merge.

@tomberek tomberek merged commit 98c7477 into NixOS:master Jan 8, 2024
@Smaug123 Smaug123 deleted the dotnet-template branch January 10, 2024 19:16
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.

3 participants