From a6774f331c392faef5ebde90df64b3521682fb2c Mon Sep 17 00:00:00 2001
From: j
Date: Sun, 15 Nov 2015 12:48:50 +0100
Subject: [PATCH] move to git
---
.gitignore | 11 +++++++++++
readme/index/download.html | 2 +-
tools/build/build.py | 2 --
3 files changed, 12 insertions(+), 3 deletions(-)
create mode 100644 .gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..cafc21d0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+.DS_Store
+tools/geo/json/_cities.json
+dev
+build/
+min/
+tools/geo/json/countries.json
+index.json
+._*
+build
+downloads
+*~
diff --git a/readme/index/download.html b/readme/index/download.html
index 6a0f44c3..b6be113a 100644
--- a/readme/index/download.html
+++ b/readme/index/download.html
@@ -5,7 +5,7 @@
Development version, including everything but the kitchen sink.
Check it out and build it yourself (you'll need python-ox
):
- $ bzr branch http://code.0x2620.org/oxjs
+ $ git clone https://git.0x2620.org/oxjs.git
$ tools/build/build.py
Or download OxJS.latest.source.tar.gz
{size.source}.
diff --git a/tools/build/build.py b/tools/build/build.py
index cb66d952..7b7cd734 100755
--- a/tools/build/build.py
+++ b/tools/build/build.py
@@ -18,9 +18,7 @@ def get_version():
revision = subprocess.Popen(
['git', 'rev-list', 'HEAD', '--count'], stdout=subprocess.PIPE
).communicate()[0].strip().decode('utf-8')
- print(revision)
revision = int(revision) - 94
- print(revision)
else:
revision = subprocess.Popen(
['bzr', 'revno'], stdout=subprocess.PIPE