mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-04-05 11:22:30 -04:00
Commented and fixed everything. Ready for pr
This commit is contained in:
parent
6c29a4a18f
commit
8bac4b8ec6
10
appveyor.yml
10
appveyor.yml
@ -1,7 +1,9 @@
|
|||||||
pull_requests:
|
pull_requests:
|
||||||
|
# Avoid building after pull requests. Shall we disable this option?
|
||||||
do_not_increment_build_number: true
|
do_not_increment_build_number: true
|
||||||
|
|
||||||
#skip_non_tags: true
|
# Only build whenever we add tags to the repo.
|
||||||
|
skip_non_tags: true
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
||||||
@ -17,7 +19,6 @@ environment:
|
|||||||
# PYTHON_VERSION: "2.7.x" # currently 2.7.9
|
# PYTHON_VERSION: "2.7.x" # currently 2.7.9
|
||||||
# PYTHON_ARCH: "64"
|
# PYTHON_ARCH: "64"
|
||||||
|
|
||||||
|
|
||||||
# This is important so we will retrieve everything in submodules as opposed to default method.
|
# This is important so we will retrieve everything in submodules as opposed to default method.
|
||||||
clone_script:
|
clone_script:
|
||||||
- cmd: >-
|
- cmd: >-
|
||||||
@ -55,12 +56,17 @@ install:
|
|||||||
- "%CMD_IN_ENV% pip install pyenchant"
|
- "%CMD_IN_ENV% pip install pyenchant"
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
|
# Build documentation at first, so setup.py won't fail when copying everything.
|
||||||
- "cd doc"
|
- "cd doc"
|
||||||
|
# Import documentation before building, so strings.py will be created.
|
||||||
- "%CMD_IN_ENV% python documentation_importer.py"
|
- "%CMD_IN_ENV% python documentation_importer.py"
|
||||||
|
# build doc from src folder so it will generate result files right there.
|
||||||
- "cd ..\\src"
|
- "cd ..\\src"
|
||||||
- "%CMD_IN_ENV% python ..\\doc\\generator.py"
|
- "%CMD_IN_ENV% python ..\\doc\\generator.py"
|
||||||
|
# Build distributable files.
|
||||||
- "%CMD_IN_ENV% python setup.py py2exe"
|
- "%CMD_IN_ENV% python setup.py py2exe"
|
||||||
- "cd dist"
|
- "cd dist"
|
||||||
|
# Zip it all.
|
||||||
- cmd: 7z a ..\..\snapshot.zip *
|
- cmd: 7z a ..\..\snapshot.zip *
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user