Commit d8c3848d authored by André Anjos's avatar André Anjos 💬
Browse files

Merge branch 'new-doc-strategy' into 'master'

New doc strategy

See merge request !23
parents 39bb17eb be8c66ea
Pipeline #27245 passed with stages
in 8 minutes and 13 seconds
...@@ -15,6 +15,10 @@ build: ...@@ -15,6 +15,10 @@ build:
- python setup.py sdist --formats=zip - python setup.py sdist --formats=zip
{% endif %} {% endif %}
- python setup.py install --single-version-externally-managed --record record.txt - python setup.py install --single-version-externally-managed --record record.txt
# installs the documentation source, readme to share/doc so it is available
# during test time
- install -d "${PREFIX}/share/doc/{{ name }}"
- cp -R README.rst doc "${PREFIX}/share/doc/{{ name }}/"
requirements: requirements:
# place your build dependencies before the 'host' section # place your build dependencies before the 'host' section
...@@ -47,7 +51,8 @@ test: ...@@ -47,7 +51,8 @@ test:
# extend this list with further test-time-only dependencies # extend this list with further test-time-only dependencies
about: about:
summary: (( title ))
home: https://www.idiap.ch/software/{{ group }}/ home: https://www.idiap.ch/software/{{ group }}/
license: (% if license == 'gplv3' %)GNU General Public License v3 (GPLv3)(% else %)BSD 3-Clause(% endif %) license: (% if license == 'gplv3' %)GNU General Public License v3 (GPLv3)(% else %)BSD 3-Clause(% endif %)
license_family: (% if license == 'gplv3' %)GPL(% else %)BSD(% endif %) license_family: (% if license == 'gplv3' %)GPL(% else %)BSD(% endif %)
summary: (( title )) license_file: (% if license == 'gplv3' %)../COPYING(% else %)../LICENSE(% endif %)
...@@ -17,12 +17,10 @@ build: ...@@ -17,12 +17,10 @@ build:
- python setup.py sdist --formats=zip - python setup.py sdist --formats=zip
{% endif %} {% endif %}
- python setup.py install --single-version-externally-managed --record record.txt - python setup.py install --single-version-externally-managed --record record.txt
# installs the documentation source, readme and license to share/doc # installs the documentation source, readme to share/doc so it is available
# so it is available during test time # during test time
- install -d ${PREFIX}/share/doc/{{ name }} - install -d "${PREFIX}/share/doc/{{ name }}"
- install -m 644 -D README.rst ${PREFIX}/share/doc/{{ name }} - cp -R README.rst doc "${PREFIX}/share/doc/{{ name }}/"
- install -m 644 -D LICENSE ${PREFIX}/share/doc/{{ name }}
- find doc -type f -exec install -m 644 -D "{}" "${PREFIX}/share/doc/{{ name }}/{}" \;
requirements: requirements:
host: host:
...@@ -77,7 +75,8 @@ test: ...@@ -77,7 +75,8 @@ test:
- bdt caupdate --help - bdt caupdate --help
- bdt new --help - bdt new --help
- bdt new -t "New package" -o bob.foobar bob/bob.foobar "John Doe" "joe.doe@example.com" - bdt new -t "New package" -o bob.foobar bob/bob.foobar "John Doe" "joe.doe@example.com"
- bdt new -t "New package" -o beat.foobar beat/beat.foobar "John Doe" "joe.doe@example.com" - bdt new -t "New package" -l bsd -o bob.foobar2 bob/bob.foobar "John Doe" "joe.doe@example.com"
- bdt new -t "New package" -l bsd -o beat.foobar beat/beat.foobar "John Doe" "joe.doe@example.com"
- bdt ci --help - bdt ci --help
- bdt ci base-build --help - bdt ci base-build --help
- bdt ci build --help - bdt ci build --help
...@@ -93,3 +92,4 @@ about: ...@@ -93,3 +92,4 @@ about:
license: BSD 3-Clause license: BSD 3-Clause
summary: Tools for development and CI integration of Bob packages summary: Tools for development and CI integration of Bob packages
license_family: BSD license_family: BSD
license_file: ../LICENSE
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment