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
grid5000
reference-repository
Commits
d0790c8b
Commit
d0790c8b
authored
Nov 17, 2018
by
Lucas Nussbaum
Browse files
[dev] add global to default sites list for wiki generators
parent
2c9b9c02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Rakefile
View file @
d0790c8b
...
...
@@ -93,7 +93,7 @@ namespace :gen do
task
"wiki"
do
require
'refrepo/gen/wiki'
options
=
{}
options
[
:sites
]
=
(
ENV
[
'SITE'
]
?
ENV
[
'SITE'
].
split
(
','
)
:
G5K_SITES
)
options
[
:sites
]
=
(
ENV
[
'SITE'
]
?
ENV
[
'SITE'
].
split
(
','
)
:
[
'global'
]
+
G5K_SITES
)
if
ENV
[
'NAME'
]
options
[
:generators
]
=
ENV
[
'NAME'
].
split
(
','
)
else
...
...
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