Skip to content

Commit

Permalink
Rename update script
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxi-Mega committed Feb 17, 2024
1 parent e304d82 commit 6bcac17
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions update.sh → update_resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ OPENLAYERS_JS_URL="https://cdn.jsdelivr.net/npm/ol@latest/dist/ol.js"
OPENLAYERS_JS_MAP_URL="https://cdn.jsdelivr.net/npm/ol@latest/dist/ol.js.map"
OPENLAYERS_CSS_URL="https://cdn.jsdelivr.net/npm/ol@latest/ol.css"

echo "Updating Go dependencies ..."
go get -u ./... && go mod tidy

echo "Updating OpenLayers dependencies ..."
mkdir -p "$OPENLAYERS_DIR"
wget $OPENLAYERS_JS_URL -O "$OPENLAYERS_DIR/ol.js"
Expand Down

0 comments on commit 6bcac17

Please sign in to comment.