Skip to content

Commit

Permalink
Merge pull request #642 from smartystreets/check_scripts
Browse files Browse the repository at this point in the history
Refine third-party lib checking scripts.
  • Loading branch information
riannucci committed Oct 25, 2021
2 parents 37813c2 + a47feb4 commit e098f86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions check_third_party.sh
@@ -1,8 +1,10 @@
#!/usr/bin/env bash

./web/client/resources/js/lib/update.sh
cd "$(dirname $(realpath $0))"

if ! (git diff-files --quiet); then
sh ./web/client/resources/js/lib/update.sh

if ! (git diff-files --quiet web/client/resources/js/lib); then
echo "Third party libraries don't match their .url files."
echo "Re-run ./web/client/resources/js/lib/update.sh"
exit 1
Expand Down
2 changes: 2 additions & 0 deletions web/client/resources/js/lib/update.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

cd "$(dirname $(realpath $0))"

config_file=()

for url in *.url; do
Expand Down

0 comments on commit e098f86

Please sign in to comment.