Browse Source

Ignore build directory

- delete obsolete files from build/
- move files from build/ to buildscripts/
- add build/ to .gitignore
v0.6
Peter Šurda 2 years ago
parent
commit
ac2df26e96
Signed by untrusted user: PeterSurda GPG Key ID: 0C5F50C0B5F37D87
  1. 2
      .gitignore
  2. 16
      build/changelang.sh
  3. 23
      build/compiletest.py
  4. 11
      build/mergepullrequest.sh
  5. 0
      buildscripts/README.md
  6. 0
      buildscripts/osx.sh
  7. 0
      buildscripts/updatetranslations.sh

2
.gitignore

@ -17,5 +17,5 @@ dist
*.egg-info
docs/_*/*
docs/autodoc/
build/sphinx/
build
pyan/

16
build/changelang.sh

@ -1,16 +0,0 @@
export LANG=de_DE.UTF-8
export LANGUAGE=de_DE
export LC_CTYPE="de_DE.UTF-8"
export LC_NUMERIC=de_DE.UTF-8
export LC_TIME=de_DE.UTF-8
export LC_COLLATE="de_DE.UTF-8"
export LC_MONETARY=de_DE.UTF-8
export LC_MESSAGES="de_DE.UTF-8"
export LC_PAPER=de_DE.UTF-8
export LC_NAME=de_DE.UTF-8
export LC_ADDRESS=de_DE.UTF-8
export LC_TELEPHONE=de_DE.UTF-8
export LC_MEASUREMENT=de_DE.UTF-8
export LC_IDENTIFICATION=de_DE.UTF-8
export LC_ALL=
python2.7 src/bitmessagemain.py

23
build/compiletest.py

@ -1,23 +0,0 @@
#!/usr/bin/python2.7
import ctypes
import fnmatch
import os
import sys
import traceback
matches = []
for root, dirnames, filenames in os.walk('src'):
for filename in fnmatch.filter(filenames, '*.py'):
matches.append(os.path.join(root, filename))
for filename in matches:
source = open(filename, 'r').read() + '\n'
try:
compile(source, filename, 'exec')
except Exception as e:
if 'win' in sys.platform:
ctypes.windll.user32.MessageBoxA(0, traceback.format_exc(), "Exception in " + filename, 1)
else:
print "Exception in %s: %s" % (filename, traceback.format_exc())
sys.exit(1)

11
build/mergepullrequest.sh

@ -1,11 +0,0 @@
#!/bin/bash
if [ -z "$1" ]; then
echo "You must specify pull request number"
exit
fi
git pull
git checkout v0.6
git fetch origin pull/"$1"/head:"$1"
git merge --ff-only "$1"

0
build/README.md → buildscripts/README.md

0
build/osx.sh → buildscripts/osx.sh

0
build/updatetranslations.sh → buildscripts/updatetranslations.sh

Loading…
Cancel
Save