Add fetch script

main
Elnu 1 year ago
parent 917747939b
commit e8c071c2a9

1
data/.gitignore vendored

@ -0,0 +1 @@
JMdict.xml

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# https://www.edrdg.org/wiki/index.php/JMdict-EDICT_Dictionary_Project#CURRENT_VERSION_&_DOWNLOAD
wget http://ftp.edrdg.org/pub/Nihongo/JMdict.gz
# Extract and delete archive
gzip -d JMdict.gz
# Add XML extension
mv JMdict JMdict.xml

@ -5,6 +5,8 @@ pkgs.mkShell {
go
gopls
gnumake
wget
gzip
];
shellHook = ''
export PATH="$HOME/go/bin:$PATH"

Loading…
Cancel
Save