Skip to content

Pinjasaur/bic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ce6b640 · Oct 19, 2024
Jul 27, 2024
Oct 19, 2024
Aug 3, 2024
Jul 27, 2024
Jan 25, 2021
Jan 23, 2021
Aug 3, 2024
Jul 27, 2024
Jul 14, 2024
Aug 3, 2024
Jun 8, 2021
Jun 8, 2021

Repository files navigation

bic

bic

Build Status

Opinionated minimal static site (blog) generator. Implemented in a single Bash script.

Getting Started

Check out the docs or bic-example repository.

Local Development

Build (local develop):

docker build --platform linux/amd64 . -t bic:local

Run (local develop) with bic-example:

docker run --platform linux/amd64 --rm -it -v $PWD/../bic-example:/src -v $PWD:/app --entrypoint bash bic:local

Run (just build) with bic-example:

docker run --platform linux/amd64 --rm -v $PWD/../bic-example:/src bic:local

Run using nix flakes

nix shell github:Pinjasaur/bic --command bic $PWD/../bic-example

Local server (ran in bic-example):

npx -y browser-sync --watch --no-notify --extensions html build

Run test suite (uses BATS):

bats tests/test.bats --print-output-on-failure

License

MIT.