diff options
| author | mo khan <mo.khan@gmail.com> | 2020-06-22 22:09:59 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-06-22 22:09:59 -0600 |
| commit | 7d81a347aa3b3afbc6c8b97a8e82c5510051fdf9 (patch) | |
| tree | fc092c3389af91e9091ca88e0baa3f2fc7729c5a | |
| parent | d9b33730a0618d4022f7bfb8ab23407d699ee401 (diff) | |
Install the spandx gem
| -rw-r--r-- | config/projects/spandx.rb | 2 | ||||
| -rw-r--r-- | config/software/preparation.rb | 16 | ||||
| -rw-r--r-- | config/software/spandx.rb | 16 |
3 files changed, 17 insertions, 17 deletions
diff --git a/config/projects/spandx.rb b/config/projects/spandx.rb index efe7afb..011f37e 100644 --- a/config/projects/spandx.rb +++ b/config/projects/spandx.rb @@ -17,7 +17,7 @@ build_iteration 1 # Creates required build directories dependency "preparation" -dependency "ruby" +dependency "spandx" # spandx dependencies/components # dependency "somedep" diff --git a/config/software/preparation.rb b/config/software/preparation.rb index 05ca827..a0136fc 100644 --- a/config/software/preparation.rb +++ b/config/software/preparation.rb @@ -1,19 +1,3 @@ -# -# Copyright 2020 YOUR NAME -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - name "preparation" description "the steps required to prepare the build" default_version "1.0.0" diff --git a/config/software/spandx.rb b/config/software/spandx.rb new file mode 100644 index 0000000..3d7b454 --- /dev/null +++ b/config/software/spandx.rb @@ -0,0 +1,16 @@ +require_relative '../../lib/spandx/version' + +name "spandx" +version Spandx::VERSION + +license :mit +skip_transitive_dependency_licensing true + +dependency "ruby" +dependency "rubygems" + +build do + block do + gem "install spandx -n #{install_dir}/bin --no-document -v #{version}" + end +end |
