File tree 4 files changed +40
-10
lines changed
4 files changed +40
-10
lines changed Original file line number Diff line number Diff line change 1
- * text =auto
1
+ * text =auto
2
+ * .sh text eol =lf
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ sudo: false
2
2
language : python
3
3
python :
4
4
- " 3.4"
5
- # command to install dependencies
6
- install : " pip install -q -r requirements.txt"
7
- # command to run tests
5
+ install : " ./build.sh --target install"
8
6
script :
9
- - sphinx-build -nW -b html -d docs/_build/doctrees docs docs/_build/html
10
- # Flags used here, not in `make html`:
11
- # -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
12
- # -W Turn warnings into errors. This means that the build stops at the first warning and sphinx-build exits with exit status 1.
13
-
7
+ - ./build.sh --target compile
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ function compile {
6
+ # Flags used here, not in `make html`:
7
+ # -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
8
+ # -W Turn warnings into errors. This means that the build stops at the first warning and sphinx-build exits with exit status 1.
9
+
10
+ sphinx-build -nW -b html -d docs/_build/doctrees docs docs/_build/html
11
+ }
12
+
13
+ function install {
14
+ pip install -q -r requirements.txt
15
+ }
16
+
17
+ function default {
18
+ install
19
+ compile
20
+ }
21
+
22
+ target=" default"
23
+
24
+ while [[ $# > 0 ]]; do
25
+ case $1 in
26
+ -t|--target)
27
+ shift
28
+ target=$1
29
+ ;;
30
+ esac
31
+ shift
32
+ done
33
+
34
+ echo " Running target '$target '"
35
+ $target
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Upgrade Microsoft.NETCore.UniversalWindowsPlatform
41
41
Using ``Microsoft.NETCore.UniversalWindowsPlatform `` 5.2.0 will cause UWP app store submissions to fail.
42
42
Until this is resolved, add the following to "dependencies" in project.json.
43
43
44
- .. code-block :: json
44
+ .. code-block :: javascript
45
45
46
46
" dependencies" : {
47
47
You can’t perform that action at this time.
0 commit comments