test(codly-languages): change approach and add tests

- just make #codly-languages return the full dictionary instead of
  trying to add the aliases dynamically
- add test.typ
- ignore `**/test*.pdf`
This commit is contained in:
swaits committed 2024-11-30 13:01:29 +01:00
1 parent 8e1debccbe
commit 0d84c91d6e
4 files changed
+203 -50

No files matched your search

+4 -1
View File
@@ -3,11 +3,14 @@
# Set the destination directory
DEST_DIR="$HOME/Code/typst-packages-fork/packages/preview"
# Move to the source directory
cd preview
# Ensure the destination directory exists
mkdir -p "$DEST_DIR"
# Loop through all directories in the current directory
for dir in preview/*/; do
for dir in */; do
if [ -d "$dir" ]; then
# Remove trailing slash from directory name
dir=${dir%/}