tempura

Crates.iotempura
lib.rstempura
version0.5.2
sourcesrc
created_at2022-10-31 06:35:22.700235
updated_at2024-09-04 12:33:58.413777
descriptionPipeline-based Static site generator
homepage
repositoryhttps://github.com/yuma140902/tempura
max_upload_size
id701955
size154,055
yuma14 (yuma140902)

documentation

README

Tempura

Tempura is a pipeline-based Static Site Generator (SSG) written in Rust. You can define pipelines to generate your site from various resources such as Markdown, JSON, plain text, Handlebars templates, pictures, etc.

Installation

Build from source

cargo install tempura

Download binary

You can download a binary archive from releases page.

# Run one of the following to download binary archive
wget https://github.com/yuma140902/tempura/releases/latest/download/tempura-aarch64-apple-darwin.tar.gz
wget https://github.com/yuma140902/tempura/releases/latest/download/tempura-aarch64-unknown-linux-gnu.tar.gz
wget https://github.com/yuma140902/tempura/releases/latest/download/tempura-aarch64-unknown-linux-musl.tar.gz
wget https://github.com/yuma140902/tempura/releases/latest/download/tempura-i686-pc-windows-msvc.zip
wget https://github.com/yuma140902/tempura/releases/latest/download/tempura-i686-unknown-linux-gnu.tar.gz
wget https://github.com/yuma140902/tempura/releases/latest/download/tempura-i686-unknown-linux-musl.tar.gz
wget https://github.com/yuma140902/tempura/releases/latest/download/tempura-x86_64-apple-darwin.tar.gz
wget https://github.com/yuma140902/tempura/releases/latest/download/tempura-x86_64-pc-windows-msvc.zip
wget https://github.com/yuma140902/tempura/releases/latest/download/tempura-x86_64-unknown-linux-musl.tar.gz 

Or you can download and install with cargo-binstall.

cargo binstall tempura

Example

yuma14.net

Documentation

https://yuma14.net/tempura-doc/

How to make releases

  1. release/v1.2.3 のような名前のブランチを切る
  2. Cargo.toml のバージョン番号を更新する
  3. 手元で cargo build を実行して Cargo.lock を更新する
  4. Pull Request を作る。pre-release.yml が実行されて CHANGELOG.md が更新される。
  5. すべてのチェックが通れば Pull Request をクローズする。release.yml が実行されて crates.io と GitHub のリリースページにリリースが作られる。
  6. ブランチは削除せずに残しておくものとする
Commit count: 298

cargo fmt