Skip to content

Commit

Permalink
Rowan components
Browse files Browse the repository at this point in the history
  • Loading branch information
ytsejam78 committed Dec 5, 2023
1 parent 75ef44d commit e1ff675
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 0 deletions.
22 changes: 22 additions & 0 deletions rowan/components/Deployment.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
RwSimpleProjectLoadComponentV2 {
#name : 'Deployment',
#postloadDoitName : 'scripts/deploymentPostLoad',
#projectNames : [ 'Kepler' ],
#componentNames : [ ],
#packageNames : [
'Sagan-Core',
'Sagan-Extensions',
'Sagan-Kepler'
],
#conditionalPackageMapSpecs : {
'gemstone' : {
'allusers' : {
#packageNameToPlatformPropertiesMap : {
'Sagan-Core' : { 'symbolDictName' : 'Sagan' },
'Sagan-Extensions' : { 'symbolDictName' : 'Globals' },
'Sagan-Kepler' : { 'symbolDictName' : 'Sagan' }
}
}
}
}
}
21 changes: 21 additions & 0 deletions rowan/components/Tests.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
RwSimpleProjectLoadComponentV2 {
#name : 'Tests',
#condition : 'tests',
#componentNames : [
'Deployment'
],
#packageNames : [
'Sagan-Core-Tests',
'Sagan-Kepler-Tests'
],
#conditionalPackageMapSpecs : {
'gemstone' : {
'allusers' : {
#packageNameToPlatformPropertiesMap : {
'Sagan-Core-Tests' : { 'symbolDictName' : 'Sagan' },
'Sagan-Kepler-Tests' : { 'symbolDictName' : 'Sagan' }
}
}
}
}
}
11 changes: 11 additions & 0 deletions rowan/components/scripts/deploymentPostLoad.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
| symbolDictionary |

symbolDictionary := Rowan image
symbolDictNamed: 'Sagan'
ifAbsent: [Error signal: 'Sagan symbol dictionary missing' ].

"Register Kepler's built-in system interfaces"
(OrderedCollection new
add: #RepositoryProviderSystem;
yourself)
do: [:each | (symbolDictionary at: each) registerInterfaces].
11 changes: 11 additions & 0 deletions rowan/project.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
RwProjectSpecificationV2 {
#specName : 'project',
#projectSpecPath : 'rowan',
#componentsPath : 'rowan/components',
#packagesPath : 'source',
#projectsPath : 'rowan/projects',
#specsPath : 'rowan/specs',
#packageFormat : 'tonel',
#packageConvention : 'Rowan',
#comment : 'Sagan project specification'
}
10 changes: 10 additions & 0 deletions rowan/projects/Kepler.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
RwLoadSpecificationV2 {
#specName: 'Kepler',
#projectName : 'Kepler',
#gitUrl : 'https://github.com/ba-st/Kepler.git',
#revision : 'v6',
#projectSpecFile : 'rowan/project.ston',
#componentNames : [
'Deployment'
]
}
Empty file added rowan/projects/README.md
Empty file.
14 changes: 14 additions & 0 deletions rowan/specs/Sagan-CI.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
RwLoadSpecificationV2 {
#specName: 'Sagan-CI',
#projectName : 'Sagan',
#diskUrl : 'Sagan',
#projectSpecFile : 'rowan/project.ston',
#componentNames : [
'Tests'
],
#customConditionalAttributes : [
'sunit',
'tests'
],
#comment : 'Sagan continuous integration setup'
}
9 changes: 9 additions & 0 deletions rowan/specs/Sagan-Deployment.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
RwLoadSpecificationV2 {
#specName: 'Sagan-Deployment',
#projectName : 'Sagan',
#diskUrl : 'Sagan',
#projectSpecFile : 'rowan/project.ston',
#componentNames : [
'Deployment'
]
}
1 change: 1 addition & 0 deletions source/.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
#convention : 'Rowan',
#format : #tonel
}

0 comments on commit e1ff675

Please sign in to comment.