Crates.io | manual-filetree |
lib.rs | manual-filetree |
version | 0.0.1-rc.10 |
source | src |
created_at | 2024-03-19 20:33:52.029453 |
updated_at | 2024-03-19 22:20:45.261758 |
description | A filetree display from a manual configuration. |
homepage | |
repository | https://codeberg.org/ryanc/filetree |
max_upload_size | |
id | 1179650 |
size | 47,341 |
A filetree view from yaml config.
Input:
- dir1:
- file.txt
- dir2:
- subdir:
- otherfile.txt
Output:
.
├── dir1
│ └── file.txt
└── dir2
└── subdir
└── otherfile.txt
Publish the crate with cargo-release. When this created tag is pushed, it should trigger the CD pipeline. This will build the npm package and publish it to the forgejo package repository as well as create a release on the Codeberg repo.
To build a wasm release, run wasm-pack build --target web
.
Follow the instructions to build a release. Then run a little HTTP server (like python -m http.server
) so you can test it in the browser.