File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1919* [ #1391 ] ( https://github.com/bbatsov/projectile/issues/1391 ) : A
2020 ` .cabal ` sub-directory is no longer considered project indicator.
2121* [ #1385 ] ( https://github.com/bbatsov/projectile/issues/1385 ) : Update ` projectile-replace ` for Emacs 27.
22+ * [ #1432 ] ( https://github.com/bbatsov/projectile/issues/1432 ) : Support .NET project.
2223
2324## 2.0.0 (2019-01-01)
2425
Original file line number Diff line number Diff line change @@ -2506,6 +2506,10 @@ test/impl/other files as below:
25062506 (and (projectile-verify-file-wildcard " ?*.cabal" )
25072507 (not (projectile-verify-file " stack.yaml" ))))
25082508
2509+ (defun projectile-dotnet-project-p ()
2510+ (or (projectile-verify-file-wildcard " ?*.csproj" )
2511+ (projectile-verify-file-wildcard " ?*.fsproj" )))
2512+
25092513(defun projectile-go-project-p ()
25102514 " Check if a project contains Go source files."
25112515 (or (projectile-verify-file " go.mod" )
@@ -2533,6 +2537,10 @@ test/impl/other files as below:
25332537 :compile " cabal build"
25342538 :test " cabal test"
25352539 :test-suffix " Spec" )
2540+ (projectile-register-project-type 'dotnet #'projectile-dotnet-project-p
2541+ :compile " dotnet build"
2542+ :run " dotnet run"
2543+ :test " dotnet test" )
25362544(projectile-register-project-type 'go projectile-go-project-test-function
25372545 :compile " go build"
25382546 :test " go test ./..."
You can’t perform that action at this time.
0 commit comments