Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.devtools
Commits
d8c3848d
Commit
d8c3848d
authored
Feb 19, 2019
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/devtools/templates/conda/meta.yaml
View file @
d8c3848d
...
...
@@ -15,6 +15,10 @@ build:
-
python setup.py sdist --formats=zip
{
%
endif %
}
-
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
:
# place your build dependencies before the 'host' section
...
...
@@ -47,7 +51,8 @@ test:
# extend this list with further test-time-only dependencies
about
:
summary
:
(( title ))
home
:
https://www.idiap.ch/software/{{ group }}/
license
:
(% if license == 'gplv3' %)GNU General Public License v3 (GPLv3)(% else %)BSD 3-Clause(% endif %)
license_family
:
(% if license == 'gplv3' %)GPL(% else %)BSD(% endif %)
summary
:
(( title )
)
license_file
:
(% if license == 'gplv3' %)../COPYING(% else %)../LICENSE(% endif %
)
conda/meta.yaml
View file @
d8c3848d
...
...
@@ -17,12 +17,10 @@ build:
-
python setup.py sdist --formats=zip
{
%
endif %
}
-
python setup.py install --single-version-externally-managed --record record.txt
# installs the documentation source, readme and license to share/doc
# so it is available during test time
-
install -d ${PREFIX}/share/doc/{{ name }}
-
install -m 644 -D README.rst ${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 }}/{}" \;
# 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
:
host
:
...
...
@@ -77,7 +75,8 @@ test:
-
bdt caupdate --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 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 base-build --help
-
bdt ci build --help
...
...
@@ -93,3 +92,4 @@ about:
license
:
BSD 3-Clause
summary
:
Tools for development and CI integration of Bob packages
license_family
:
BSD
license_file
:
../LICENSE
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment