mirror of
https://github.com/nikdoof/dropbot.git
synced 2025-12-22 14:19:24 +00:00
7
.gitignore
vendored
7
.gitignore
vendored
@@ -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
3
sde_update.sh
Normal file → Executable 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
|
||||
|
||||
Reference in New Issue
Block a user