mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
13 lines
393 B
Bash
Executable File
13 lines
393 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
src="https://github.com/datafoodconsortium/taxonomies/releases/latest/download"
|
|
dst="`dirname $0`/../vendor"
|
|
mkdir -p "$dst"
|
|
|
|
curl --location "$src/facets.json" > "$dst/facets.json"
|
|
curl --location "$src/measures.json" > "$dst/measures.json"
|
|
curl --location "$src/productTypes.json" > "$dst/productTypes.json"
|
|
curl --location "$src/vocabulary.json" > "$dst/vocabulary.json"
|