# filetree
A filetree view from yaml config.
## Example:
Input:
```yaml
- dir1:
- file.txt
- dir2:
- subdir:
- otherfile.txt
```
Output:
```
.
├── dir1
│ └── file.txt
└── dir2
└── subdir
└── otherfile.txt
```
## publishing
Publish the crate with [cargo-release](https://crates.io/crates/cargo-release). When this created tag is pushed, it should trigger the [CD pipeline](.forgejo/workflows/cd.yml). This will build the npm package and publish it to the forgejo package repository as well as create a release on the Codeberg repo.
## releases
To build a wasm release, run `wasm-pack build --target web`.
## manual testing
Follow the instructions to [build a release](#releases). Then run a little HTTP server (like `python -m http.server`) so you can test it in the browser.