Merge pull request #26 from nikdoof/vanguard-update

Vanguard update
This commit is contained in:
Rob Haswell
2015-10-20 17:35:04 +01:00
3 changed files with 9 additions and 3 deletions

7
.gitignore vendored
View File

@@ -13,6 +13,7 @@ env/
build/
develop-eggs/
dist/
.eggs/
eggs/
lib/
lib64/
@@ -40,6 +41,7 @@ htmlcov/
.cache
nosetests.xml
coverage.xml
_trial_temp/
# Translations
*.mo
@@ -62,3 +64,8 @@ eve.db
# Vagrant
.vagrant/
# Cruft
*.json
sde.sqlite
sde.sqlite.bz2

File diff suppressed because one or more lines are too long

3
sde_update.sh Normal file → Executable file
View File

@@ -3,7 +3,7 @@
SDE_URL="https://www.fuzzwork.co.uk/dump/sqlite-latest.sqlite.bz2"
echo "Downloading SDE from ${SDE_URL}"
curl -o sde.sqlite.bz2 "${SDE_URL}" && bunzip2 sde.sqlite.bz2
curl -o sde.sqlite.bz2 "${SDE_URL}" && bunzip2 -f sde.sqlite.bz2
if [ -e sde.sqlite ]; then
echo "Generating reference data"
/usr/bin/env python gen_reference_data.py sde.sqlite
@@ -13,7 +13,6 @@ if [ -e sde.sqlite ]; then
/usr/bin/env python setup.py test > /dev/null 2>&1
if [ $? -eq 0 ]; then
git add dropbox/data/*.json
git status
echo "SDE data updated successfully"
else