A collection of scripts for easing packaging.
A script easing the generation of ruby gems into native packages.
Note: Invoke as gem2deb
or gem2rpm
depending on the target package format.
- License
-
MIT
- Requires
-
bash >= 4, fpm, gem
gem2deb <options> gem [-v <version>] [gem -v [<version>] [..]] Options: --help This message --dest-dir <path> Set the destination directory for the finished packages --sub-dir <dir> Set the subdirectory under ~/gem2deb for saving the packages --prerelease Consider prerelases of gems gem -v |--version Set the version of the gem to install. Gem can either be file or the name of the gem. The version switch is ignored if pointing to a gem file.
~/var/gem2deb/<codename>
gem2deb asciidoctor
~/var/gem2deb/<codename>
gem2rpm rspec -v 3.5.0
gem2deb --prerelease asciidoctor-pdf
gem2rpm asciidoctor rspec -v 3.5.0
~/my-rubygems/<codename>
gem2rpm --dest-dir ~/my-rubygems rspec -v 3.5.0
~/my-rubygems/rspec/<codename>
gem2deb --sub-dir rspec --dest-dir ~/my-rubygems rspec -v 3.5.0 ~/asciidoctor-1.5.5.gem
A collection of rake scripts to help with the build of various useful tools missing from the distribution repos.
- License
-
MIT
- Requires
-
ruby, rake
The scripts are organzied into two sections:
- bootstrap
-
Builds and installs the necessary tools for packaging the tasks grouped under
package
- package
-
Builds packages for Debian or RedHat based operating systems.
rake -T
rake bootstrap:fpm # Build and deploy the fpm command rake package:butteraugli # Build the butteraugli image comparison tool rake package:guetzli # Build the guetzli jpeg compressor rake package:zopflipng # Build the zopflipng PNG optimizer