feat: add Io module

This commit is contained in:
outfoxxed 2024-03-03 01:58:33 -08:00
parent 5aaacb9a1e
commit 79579222a3
Signed by: outfoxxed
GPG Key ID: 4C88A185FB89301E
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@ clean:
rm -rf build
rm -rf data/modules/Quickshell
rm -rf content/docs/types/Quickshell
rm -rf data/modules/Quickshell.Io
rm -rf content/docs/types/Quickshell.Io
rm -rf data/modules/Quickshell.Wayland
rm -rf content/docs/types/Quickshell.Wayland
@ -9,8 +11,10 @@ typedocs: clean
cd typegen && cargo build
mkdir -p build/types/types
./typegen/target/debug/typegen gentypes ../src/core/module.md build/types/types/Quickshell.json
./typegen/target/debug/typegen gentypes ../src/io/module.md build/types/types/Quickshell.Io.json
./typegen/target/debug/typegen gentypes ../src/wayland/module.md build/types/types/Quickshell.Wayland.json
sh -c './typegen/target/debug/typegen gendocs ../src/core/module.md data/modules/Quickshell content/docs/types/Quickshell types/* build/types/types/*'
sh -c './typegen/target/debug/typegen gendocs ../src/io/module.md data/modules/Quickshell.Io content/docs/types/Quickshell.Io types/* build/types/types/*'
sh -c './typegen/target/debug/typegen gendocs ../src/wayland/module.md data/modules/Quickshell.Wayland content/docs/types/Quickshell.Wayland types/* build/types/types/*'
serve: typedocs