Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.26 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.26 KB

puppy

Run tests Run lint

puppy is an example implementation of a tiny Web browser for educational purposes.

puppy-browser

How to run puppy locally

You can run puppy program with the following command(s):

cargo run -- help

How to install puppy

You can install puppy by the following command(s):

cargo install --locked --path . --force

After you have successfully installed puppy, you can see help as follows:

puppy help

You can install shell completions as follows:

# in bash
eval "$(puppy completion bash)"

# in fish
puppy completion fish | source

How to run tests locally

You can run tests with the following command(s):

cargo test

How to speed up build process

You can cache files related to V8 as follows:

$ export RUSTY_V8_MIRROR=$HOME/.cache/rusty_v8
(...omitted...)
$ ./scripts/prepare-v8.sh
(...omitted...)
$ cargo build
(...omitted...)