- Create .envrc for Direnv configuration - Add .pre-commit-config.yaml for pre-commit hooks - Include CONTRIBUTING.md with contribution guidelines - Implement Makefile for build, run, and clean commands - Set up Program.cs with a basic Hello World message - Define SampleApp.csproj for .NET project configuration - Add agents.md for coding agent instructions - Create default.nix for Nix flake setup - Initialize deps.nix for NuGet dependencies - Configure Flatpak app with app.flatpak.json - Implement install-templates.sh for installing .NET templates - Define project.toml for project metadata - Set up shell.nix for development shell environment - Add SampleTest.cs for basic unit testing
17 lines
233 B
Makefile
17 lines
233 B
Makefile
# Makefile for .NET template
|
|
.PHONY: build run clean
|
|
|
|
build:
|
|
dotnet build
|
|
|
|
run:
|
|
dotnet run
|
|
|
|
clean:
|
|
dotnet clean
|
|
|
|
|
|
# Flatpak build target
|
|
.PHONY: flatpak-build:
|
|
flatpak-builder --force-clean build-flatpak flatpak/app.flatpak.json
|