summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-02-27 15:43:41 -0700
committermo khan <mo.khan@gmail.com>2020-02-27 15:43:41 -0700
commitb5c6b0a5f96613c8944c18ffab261b0799b92d8b (patch)
treeca744a89a6662bdbee65b4c74a89e5cdfe76cfbc
parentfc5095229677e88c578350be217465495c274c7e (diff)
Install mono-complete for Net.HTTP libraries so NuGet can make API calls33727-asdf
-rw-r--r--config/install.sh4
-rw-r--r--lib/license/management.rb12
2 files changed, 2 insertions, 14 deletions
diff --git a/config/install.sh b/config/install.sh
index 768ba50..3f1348f 100644
--- a/config/install.sh
+++ b/config/install.sh
@@ -4,7 +4,7 @@ set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
apt-get clean
-apt-get update
+apt-get update -q
apt-get install -y --no-install-recommends \
apt-transport-https \
apt-utils \
@@ -76,7 +76,7 @@ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BF
echo "deb https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list
apt-get update -q
-apt-get install -y --no-install-recommends dotnet-sdk-3.1 mono-runtime
+apt-get install -y --no-install-recommends dotnet-sdk-3.1 mono-complete
curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mkdir -p "$ASDF_DATA_DIR"
diff --git a/lib/license/management.rb b/lib/license/management.rb
index f186f80..37fe1a0 100644
--- a/lib/license/management.rb
+++ b/lib/license/management.rb
@@ -13,18 +13,6 @@ 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
- def self.package_management_command
- 'nuget'
- end
-
- def self.nuget_check
- 'which nuget'
- end
- end
-end
-
module License
module Management
def self.root