| May | JUN | Jul |
| 20 | ||
| 2019 | 2020 | 2021 |
COLLECTED BY
Collection: github.com
release 2.12.0
| Type | Name | Latest commit message | Commit time |
|---|---|---|---|
| Failed to load latest commit information. | |||
|
|
.github/workflows |
|
|
|
|
docker |
|
|
|
|
docs |
|
|
|
|
exe |
|
|
|
|
lib |
|
|
|
|
script |
|
|
|
|
test |
|
|
|
|
.gitignore |
|
|
|
|
.licensed.yml |
|
|
|
|
.rubocop.yml |
|
|
|
|
.ruby-version |
|
|
|
|
CHANGELOG.md |
|
|
|
|
CODE_OF_CONDUCT.md |
|
|
|
|
CONTRIBUTING.md |
|
|
|
|
Gemfile |
|
|
|
|
LICENSE |
|
|
|
|
README.md |
|
|
|
|
Rakefile |
|
|
|
|
licensed.gemspec |
|
|
licensed migrate command.
See CHANGELOG.md for more details on what's changed.
See the migration documentation for more info on migrating to v2, or run licensed help migrate.
libgit2 bindings for Ruby provided by rugged. rugged requires cmake and pkg-config which you may need to install before you can install Licensed.
Ubuntu
sudo apt-get install cmake pkg-config
OS X
brew install cmake pkg-config
gem 'licensed', :group => 'development'And then execute:
$ bundle
$ curl -sSL https://github.com/github/licensed/releases/download/<version>/licensed-<version>-<os>-x64.tar.gz > licensed.tar.gz $ tar -xzf licensed.tar.gz $ rm -f licensed.tar.gz $ ./licensed listFor system wide usage, install licensed to a location on
$PATH, e.g. /usr/local/bin.
licensed list: Output enumerated dependencies only.
●licensed cache: Cache licenses and metadata.
●licensed status: Check status of dependencies' cached licenses.
●licensed notices: Write a NOTICE file for each application configuration.
●licensed version: Show current installed version of Licensed. Aliases: -v|--version
●licensed env: Output environment information from the licensed configuration.
See the commands documentation for additional documentation, or run licensed -h to see all of the current available commands.
licensed cache automatically when using bundler. See the linked repo for usage and details.
licensed as part of an opinionated CI workflow and can be configured to run on any GitHub Action event. See the linked actions for usage and details.
The setup-licensed GitHub Action installs licensed to the workflow environment. See the linked actions for usage and details.
●This action is intended for projects that don't have a ruby installation setup. If your workflow has ruby setup please install licensed via Gemfile + bundle install or with gem install.
version, accept a -c|--config option to specify a path to a configuration file or directory.
If a directory is specified, licensed will look in that directory for a file named (in order of preference):
(一).licensed.yml
(二).licensed.yaml
(三).licensed.json
If the option is not specified, the value will be set to the current directory.
See the configuration file documentation for more details on the configuration format.
sources: bundler: false npm: false bower: false cabal: false
script/bootstrap to install dependencies
(二)script/setup to setup test fixtures.
●script/setup -f will force a clean test fixture environment
(一)script/cibuild to run the tests.
You can also run script/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.
script/bootstrap scripting and tests are only run if the required tooling is available on the development machine.
●See script/bootstrap for examples of gating scripting based on whether tooling executables are found.
●Use Licensed::Shell.tool_available? when writing test files to gate running a test suite when tooling executables aren't available.
if Licensed::Shell.tool_available?('bundle') describe Licensed::Source::Bundler do ... end endSee the documentation on adding new sources for more information.