summaryrefslogtreecommitdiff
path: root/lib/license
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-07-15 12:28:52 -0600
committermo khan <mo.khan@gmail.com>2020-07-16 20:03:40 -0600
commit2bef4d83886ea13f3dc45a5bb16b997a6eae1acd (patch)
tree84fbb2bcb8b978676a0b91bc10d4fcc18dbee4e3 /lib/license
parente6e1644f777da7178d90c3cbf8043a410476fec3 (diff)
Install dotnet SDK
* Include the latest dotnet SDK in the /opt/asdf/installs directory. * Update CHANGELOG and bump version * Compress large directories
Diffstat (limited to 'lib/license')
-rw-r--r--lib/license/finder/ext/dotnet.rb8
-rw-r--r--lib/license/management/version.rb2
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/license/finder/ext/dotnet.rb b/lib/license/finder/ext/dotnet.rb
index c5ff485..e9e0490 100644
--- a/lib/license/finder/ext/dotnet.rb
+++ b/lib/license/finder/ext/dotnet.rb
@@ -9,12 +9,14 @@ module LicenseFinder
project_path.glob('*.fsproj')
end
+ def installed?(*)
+ File.exist?('/opt/asdf/installs/dotnet/latest/dotnet')
+ end
+
def prepare
- shell.execute(['apt-get', :update, '-q'])
- shell.execute(['apt-get', :install, '-y', '--no-install-recommends', 'dotnet-sdk-3.1'])
shell.execute([:mkdir, '-p', vendor_path.to_s]) unless vendor_path.exist?
shell.execute([
- :dotnet,
+ '/opt/asdf/installs/dotnet/latest/dotnet',
:restore, detected_package_path.to_s,
'--no-cache',
'--packages', vendor_path.to_s,
diff --git a/lib/license/management/version.rb b/lib/license/management/version.rb
index 1ba7279..72c1491 100644
--- a/lib/license/management/version.rb
+++ b/lib/license/management/version.rb
@@ -2,6 +2,6 @@
module License
module Management
- VERSION = '3.18.1'
+ VERSION = '3.19.0'
end
end