Skip to content

Commit

Permalink
iconURL field changed to icon
Browse files Browse the repository at this point in the history
Signed-off-by: jorgee <[email protected]>
  • Loading branch information
jorgee committed Sep 19, 2024
1 parent 7e4df25 commit bcc6524
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ The following settings are available:
`manifest.homePage`
: Project home page URL.

`manifest.iconUrl`
`manifest.icon`
: Project related icon location (Relative path or URL).

`manifest.license`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ class Manifest {
target.docsUrl
}

String getIconUrl(){
target.iconUrl
String getIcon(){
target.icon
}

String getMaintainer(){
Expand All @@ -130,7 +130,7 @@ class Manifest {
result.nextflowVersion = getNextflowVersion()
result.doi = getDoi()
result.docsUrl = getDocsUrl()
result.iconUrl = getIconUrl()
result.icon = getIcon()
result.maintainer = getMaintainer()
result.organisation = getOrganisation()
result.license = getLicense()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ManifestTest extends Specification {

given:
def MAN = [author: 'pablo', nextflowVersion: '1.2.3', name: 'foo',
maintainer: 'john', organisation: 'My Organisation', iconUrl: 'icon.png',
maintainer: 'john', organisation: 'My Organisation', icon: 'icon.png',
docsUrl: 'https://docs.io', license: 'Apache v2']
when:
def manifest = new Manifest(MAN)
Expand All @@ -38,7 +38,7 @@ class ManifestTest extends Specification {
name == 'foo'
maintainer == 'john'
organisation == 'My Organisation'
iconUrl == 'icon.png'
icon == 'icon.png'
docsUrl == 'https://docs.io'
license == 'Apache v2'
}
Expand All @@ -64,7 +64,7 @@ class ManifestTest extends Specification {
maintainer == null
docsUrl == null
organisation == null
iconUrl == null
icon == null
license == null
}

Expand Down

0 comments on commit bcc6524

Please sign in to comment.