Skip to content

Commit

Permalink
chore: use kash helper get_json_value [additional tests]
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Bourianes committed May 6, 2024
1 parent 77b1a75 commit 4b67598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ done

# Required by tests
use_node "$NODE_VER"
GTIFF2JSON_TAG=$(node -p -e "require('./package.json').peerDependencies['@weacast/gtiff2json']")
GRIB2JSON_TAG=$(node -p -e "require('./package.json').peerDependencies['@weacast/grib2json']")
GTIFF2JSON_TAG=$(get_json_value "$ROOT_DIR/package.json" "peerDependencies['@weacast/gtiff2json']")
GRIB2JSON_TAG=$(get_json_value "ROOT_DIR/package.json" "peerDependencies['@weacast/grib2json']")
git clone https://github.com/kalisio/krawler.git && cd krawler && yarn install && yarn link && cd ..
yarn link @kalisio/krawler
yarn global add @weacast/gtiff2json@${GTIFF2JSON_TAG}
Expand Down

0 comments on commit 4b67598

Please sign in to comment.