Giter Club home page Giter Club logo

image_optim_pack's Introduction

Gem Version Build Status Rubocop Docker build Livecheck Code Climate Depfu Inch CI

image_optim_pack

Precompiled binaries for image_optim.

Contains binaries for Mac OS X (>= 10.9, x86_64) and Linux (x86_64).

A test application with latest image_optim and image_optim_pack is available on render: https://iopack.onrender.com/.

Binaries and libraries

NOTE: On FreeBSD and OpenBSD make is not the GNU Make, so gmake should be used instead.

You can download all source code using gnu make download target:

make download

Installation

gem install image_optim image_optim_pack

Or add to your Gemfile:

gem 'image_optim'
gem 'image_optim_pack'

Development

Mac OS X binaries and libraries are built on host, others using containers.

script/run # Build and test all for all oses and architectures
script/run NO_HALT=1 # Don't halt VMs after building
script/run NO_UP=1 # Don't start VMs before building (will fail if not already running)
script/run darwin 64 # Build only platforms matching darwin or 64

make # Build all tools and copy them to vendor/OS-ARCH for current OS and ARCH, then test
make all # same

script/livecheck # Check versions
make update-versions # Update versions in Makefile

make download # Download archives
make download-tidy-up # Remove old archives
make build # Build all without copying to output directory

make test # Test bins for current os/arch
make test -i # Continue if one of bins fail

make clean # Remove build and output directories for current os/arch
make clean-all # Remove build root and output root directories
make clobber # `clean-all` and remove download directory

Docker

This project includes a Dockerfile in the root, which builds a minimal image with most binaries included.

Running

docker run --rm ghcr.io/toy/image_optim --version # image_optim version
docker run --rm ghcr.io/toy/image_optim --info # image_optim info including bin versions
docker run --rm -v "$PWD":/here -w /here ghcr.io/toy/image_optim image-in-this-folder.jpg

Building

make docker-build # will be tagged with latest and current date in format %Y%m%d
make docker-push # will push tags created by docker-build

Copyright

Copyright (c) 2014-2024 Ivan Kuchin. See LICENSE.txt for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.