Add script to install site_icons
This commit is contained in:
parent
1449e2f5df
commit
4793aa3a7a
2 changed files with 8 additions and 2 deletions
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
Fedi links that open on your preferred instance!
|
Fedi links that open on your preferred instance!
|
||||||
|
|
||||||
## Building
|
## Building and Running
|
||||||
|
|
||||||
To compile TypeScript, the build script assumes Deno is installed.
|
To compile TypeScript, the build script assumes Deno is installed.
|
||||||
|
|
||||||
When you have Deno and Rust installed, simply use Cargo to build the project
|
1. [Install Rust via rustup](https://rustup.rs/)
|
||||||
|
2. [Install Deno](https://deno.com/)
|
||||||
|
3. Run `install-binary-deps.sh` (this installs the icon scraper and possibly
|
||||||
|
more in the future)
|
||||||
|
4. Use Cargo to build the project:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# For example, to build for release, you can do
|
# For example, to build for release, you can do
|
||||||
|
|
2
install-binary-deps.sh
Executable file
2
install-binary-deps.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
cargo install site_icons
|
Loading…
Add table
Reference in a new issue