Sha256: 3ae9887cec402e45e643425c1644191196a235106be371a8846b0a2df6383137
Contents?: true
Size: 1.82 KB
Versions: 3
Compression:
Stored size: 1.82 KB
Contents
# Pbmenv [![Ruby](https://github.com/splaplapla/pbmenv/actions/workflows/ruby.yml/badge.svg?branch=master)](https://github.com/splaplapla/pbmenv/actions/workflows/ruby.yml) * https://github.com/splaplapla/procon_bypass_man のバージョンマネージャー * Raspberry Pi OSでの実行を想定しています ## Installation Add this line to your application's Gemfile: ```ruby gem 'pbmenv' ``` ## Usage * pbmenv commands * pbmenv available_versions * pbmenv versions * pbmenv install $version * pbmenv use $version * pbmenv uninstall $version * API * Pbmenv.available_versions * https://github.com/splaplapla/procon_bypass_man/tags からバージョンのリストを取ってくる * Pbmenv.versions * /usr/share/pbm/#{version} を返す * Pbmenv.install(version) * https://github.com/splaplapla/procon_bypass_man/archive/refs/tags/v#{version}.tar.gz をダウンロードして、 * /usr/share/pbm/#{version} に app.rb, pbm.servive, setting.yml を配備する * Pbmenv.use(version) * /usr/share/pbm/#{version} を /usr/share/pbm/current へのシムリンクを作成する * Pbmenv.uninstall(version) * /usr/share/pbm/current が削除対象だったら例外を投げる * /usr/share/pbm/#{version} を 削除する ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pbmenv. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/pbmenv/blob/master/CODE_OF_CONDUCT.md). ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). ## Development * docker-compose build --no-cache * docker-compose run app bash * bin/rspec
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pbmenv-0.1.8 | README.md |
pbmenv-0.1.7 | README.md |
pbmenv-0.1.6 | README.md |