summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-02-27 14:35:36 -0700
committermo khan <mo.khan@gmail.com>2020-02-27 14:35:36 -0700
commit2f2bf3d7da3011afd0fe284e2f39fbd9526920c5 (patch)
treef522b0120599c4f8bb6a41a6f06f83cdc6c3225e /lib
parent392ebdc96c506830eda3a0f84a4e94fe42519411 (diff)
Skip mono and use nuget package
Diffstat (limited to 'lib')
-rw-r--r--lib/license/management.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/license/management.rb b/lib/license/management.rb
index 37fe1a0..20fffd9 100644
--- a/lib/license/management.rb
+++ b/lib/license/management.rb
@@ -13,6 +13,18 @@ require 'license/management/version'
# This applies a monkey patch to the JsonReport found in the `license_finder` gem.
LicenseFinder::JsonReport.prepend(License::Management::Report)
+module LicenseFinder
+ class Nuget < PackageManager
+ def package_management_command
+ 'nuget'
+ end
+
+ def nuget_check
+ 'which nuget'
+ end
+ end
+end
+
module License
module Management
def self.root