Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 1.27 KB

README.md

File metadata and controls

62 lines (41 loc) · 1.27 KB
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.