Ignite CLI is distributed on multiple platforms and package managers. This document describes how to package and distribute Ignite CLI.
Read the following resources to understand Snap.
- https://snapcraft.io/docs/snapcraft-overview
- https://snapcraft.io/docs/go-plugin#heading--core22
- https://snapcraft.io/docs/go-applications
cd packaging/snap
sudo apt install snapd
sudo snap install multipass
multipass launch
SNAPCRAFT_BUILD_ENVIRONMENT=multipass snapcraft
snap install ignite_0.0.0_amd64.snap --dangerous --classicFor building, from snapcraft 8, use SNAPCRAFT_REMOTE_BUILD_STRATEGY=force-fallback snapcraft remote-build.
A github action is used to build and publish the Snap at each release.
Read the following resources to understand HomeBrew.
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --interactive ignite
brew audit --new-formula igniteThe formula is published in the homebrew-core repository: Homebrew/homebrew-core#161938