Skip to content

Commit

Permalink
Set non-tag version to 0.0.0; properly declare subdir dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bweir committed Jan 11, 2016
1 parent 7eef9c7 commit cf9dfcd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis/script.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

BUILD_VERSION="$TRAVIS_BRANCH"
BUILD_VERSION="0.0.0"
if [[ -n "$TRAVIS_TAG" ]]
then
BUILD_VERSION="$TRAVIS_TAG"
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install:
- set PATH=%PATH%;%PYTHON%;%PYTHON%\Scripts;
- set PATH=%PATH%;"C:\Program Files (x86)\Inno Setup 5";
- if defined APPVEYOR_REPO_TAG_NAME set BUILD_VERSION=%APPVEYOR_REPO_TAG_NAME%
- if not defined APPVEYOR_REPO_TAG_NAME set BUILD_VERSION=%APPVEYOR_REPO_BRANCH%
- if not defined APPVEYOR_REPO_TAG_NAME set BUILD_VERSION="0.0.0"
- python --version
- qmake -v
- pip install Pillow
Expand Down
19 changes: 11 additions & 8 deletions src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@ TEMPLATE = subdirs

SUBDIRS = \
zipper \
memorymap/src \
propterm \
projectview/src \
propellermanager \
projectview \
memorymap \
propterm \
propelleride

propterm.depends = propellermanager
memorymap/src.depends = propellermanager
memorymap/src.depends = projectview/src
memorymap.depends = propellermanager projectview

propelleride.depends = zipper \
memorymap/src \
memorymap \
propterm \
projectview/src \
propellermanager \
projectview \
propellermanager

memorymap.subdir = memorymap/src
projectview.subdir = projectview/src

0 comments on commit cf9dfcd

Please sign in to comment.