diff --git a/rowan/components/Deployment.ston b/rowan/components/Deployment.ston new file mode 100644 index 0000000..214dd09 --- /dev/null +++ b/rowan/components/Deployment.ston @@ -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' } + } + } + } + } +} diff --git a/rowan/components/Tests.ston b/rowan/components/Tests.ston new file mode 100644 index 0000000..19b26a5 --- /dev/null +++ b/rowan/components/Tests.ston @@ -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' } + } + } + } + } +} diff --git a/rowan/components/scripts/deploymentPostLoad.st b/rowan/components/scripts/deploymentPostLoad.st new file mode 100644 index 0000000..9c42490 --- /dev/null +++ b/rowan/components/scripts/deploymentPostLoad.st @@ -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]. diff --git a/rowan/project.ston b/rowan/project.ston new file mode 100644 index 0000000..2056386 --- /dev/null +++ b/rowan/project.ston @@ -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' +} diff --git a/rowan/projects/Kepler.ston b/rowan/projects/Kepler.ston new file mode 100644 index 0000000..5be5cce --- /dev/null +++ b/rowan/projects/Kepler.ston @@ -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' + ] +} diff --git a/rowan/projects/README.md b/rowan/projects/README.md new file mode 100644 index 0000000..e69de29 diff --git a/rowan/specs/Sagan-CI.ston b/rowan/specs/Sagan-CI.ston new file mode 100644 index 0000000..a1c9e03 --- /dev/null +++ b/rowan/specs/Sagan-CI.ston @@ -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' +} diff --git a/rowan/specs/Sagan-Deployment.ston b/rowan/specs/Sagan-Deployment.ston new file mode 100644 index 0000000..84f6949 --- /dev/null +++ b/rowan/specs/Sagan-Deployment.ston @@ -0,0 +1,9 @@ +RwLoadSpecificationV2 { + #specName: 'Sagan-Deployment', + #projectName : 'Sagan', + #diskUrl : 'Sagan', + #projectSpecFile : 'rowan/project.ston', + #componentNames : [ + 'Deployment' + ] +} diff --git a/source/.properties b/source/.properties index 53a5454..2b93ee6 100644 --- a/source/.properties +++ b/source/.properties @@ -1,3 +1,4 @@ { + #convention : 'Rowan', #format : #tonel }