stem-cell

Crates.iostem-cell
lib.rsstem-cell
version0.0.7
sourcesrc
created_at2021-06-20 22:39:35.185969
updated_at2023-10-03 03:23:26.908353
descriptionA simple project to demonstrate the cross-platform release management process I use for my open source work.
homepagehttps://github.com/stepchowfun/stem-cell
repositoryhttps://github.com/stepchowfun/stem-cell
max_upload_size
id412608
size7,902
Stephan Boyer (stepchowfun)

documentation

https://github.com/stepchowfun/stem-cell

README

Stem Cell

Build status

This is a simple project to demonstrate the cross-platform release management process I use for my open source work. The program itself just prints Hello, World!.

This repository can be used as a starting point for a new project. Be sure to rename all references to Stem Cell and stem-cell accordingly. Then follow the instructions in MAINTAINERS.md to configure the repository on GitHub.

Installation instructions

Installation on macOS or Linux (AArch64 or x86-64)

If you're running macOS or Linux (AArch64 or x86-64), you can install Stem Cell with this command:

curl https://raw.githubusercontent.com/stepchowfun/stem-cell/main/install.sh -LSfs | sh

The same command can be used again to update to the latest version.

The installation script supports the following optional environment variables:

  • VERSION=x.y.z (defaults to the latest version)
  • PREFIX=/path/to/install (defaults to /usr/local/bin)

For example, the following will install Stem Cell into the working directory:

curl https://raw.githubusercontent.com/stepchowfun/stem-cell/main/install.sh -LSfs | PREFIX=. sh

If you prefer not to use this installation method, you can download the binary from the releases page, make it executable (e.g., with chmod), and place it in some directory in your PATH (e.g., /usr/local/bin).

Installation on Windows (AArch64 or x86-64)

If you're running Windows (AArch64 or x86-64), download the latest binary from the releases page and rename it to stem-cell (or stem-cell.exe if you have file extensions visible). Create a directory called Stem Cell in your %PROGRAMFILES% directory (e.g., C:\Program Files\Stem Cell), and place the renamed binary in there. Then, in the "Advanced" tab of the "System Properties" section of Control Panel, click on "Environment Variables..." and add the full path to the new Stem Cell directory to the PATH variable under "System variables". Note that the Program Files directory might have a different name if Windows is configured for a language other than English.

To update to an existing installation, simply replace the existing binary.

Installation with Cargo

If you have Cargo, you can install Stem Cell as follows:

cargo install stem-cell

You can run that command with --force to update an existing installation.

Commit count: 119

cargo fmt