Skip to content

Commit

Permalink
Move mediatypes script out of etc
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Oct 4, 2024
1 parent 94b8ca5 commit e31608c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions bin/mediatypes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
rm -f media.csv.tmp
for GROUP in application audio image message multipart text video font model; do
curl "https://www.iana.org/assignments/media-types/$GROUP.csv" | tail -n+2 | cut -d, -f1 | sed "s/^/$GROUP\//" | grep -v '^$' >> media.csv.tmp
done
sed -i 's/ (.*$//' media.csv.tmp
sed -i 's/ - .*$//' media.csv.tmp
mv media.csv.tmp res/gesticulate/media.types
2 changes: 1 addition & 1 deletion fury
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

repo propensive/probably

target gesticulate/test
target gesticulate/core

project gesticulate
module core
Expand Down

0 comments on commit e31608c

Please sign in to comment.