Skip to content

Commit

Permalink
Merge pull request #22 from codecrafters-io/add-csharp-support
Browse files Browse the repository at this point in the history
Add C# support
  • Loading branch information
ryan-gang authored Nov 20, 2024
2 parents 29e5e45 + 76bb84f commit 2d85714
Show file tree
Hide file tree
Showing 31 changed files with 1,612 additions and 0 deletions.
11 changes: 11 additions & 0 deletions compiled_starters/csharp/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
#
# This script is used to compile your program on CodeCrafters
#
# This runs before .codecrafters/run.sh
#
# Learn more: https://codecrafters.io/program-interface

set -e # Exit on failure

dotnet build --configuration Release --output /tmp/codecrafters-build-csharp codecrafters-kafka.csproj
11 changes: 11 additions & 0 deletions compiled_starters/csharp/.codecrafters/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
#
# This script is used to run your program on CodeCrafters
#
# This runs after .codecrafters/compile.sh
#
# Learn more: https://codecrafters.io/program-interface

set -e # Exit on failure

exec /tmp/codecrafters-build-csharp/codecrafters-kafka "$@"
1 change: 1 addition & 0 deletions compiled_starters/csharp/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
Loading

0 comments on commit 2d85714

Please sign in to comment.