Building a Baseline

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Building a Baseline

Prof. Andrew P. Black
In the baseline configuration of my project, it says

spec
baseline: 'SmaCC' 
with: [ spec repository: '<a href="github://apblack/SmaCC:working'" class="">github://apblack/SmaCC:working' ].

Later, I have a parser that depends on 'SmaCC'.

However, when I load my baseline, it seems to load from the current branch of the local clone of apblack/SmaCC in my file system.  That is, my local clone was on branch master, so master was loaded, rather than working.

What am I doing wrong, and how do I fix the baseline so that the correct branch is loaded?

Andrew

The complete baseline is as follows:

baseline: spec
<baseline>

spec for: #'common' do: [
spec
baseline: 'SmaCC' 
with: [ spec repository: '<a href="github://apblack/SmaCC:working'" class="">github://apblack/SmaCC:working' ].
spec
baseline: 'FileDialog'
with: [ spec repository: '<a href="github://peteruhnak/file-dialog/repository'" class="">github://peteruhnak/file-dialog/repository' ].
spec package: 'Grace-Scope'.
spec package: 'Grace-Names' with: [ spec requires: {'Grace-Parser' . 'Grace-Scope'} ].
spec package: 'Grace-Parser' with: [ spec requires: {'SmaCC' . 'Grace-Scope'} ].
spec package: 'Grace-IDE' with: [ 
spec requires: {'FileDialog' . 'Grace-Compiler'} ].
spec package: 'Grace-Compiler' with: [ 
spec requires: {'Grace-Parser' . 'Grace-Names'} ].
spec package: 'GraceTests' with: [ spec requires: {'Grace-Parser' . 'Grace-Names'} ] 
]

Reply | Threaded
Open this post in threaded view
|

Re: Building a Baseline

Denis Kudriashov
Hi Andrew.


2017-12-04 13:04 GMT+01:00 Prof. Andrew P. Black <[hidden email]>:
In the baseline configuration of my project, it says

spec
baseline: 'SmaCC' 
with: [ spec repository: 'github://apblack/SmaCC:working' ].

Later, I have a parser that depends on 'SmaCC'.

However, when I load my baseline, it seems to load from the current branch of the local clone of apblack/SmaCC in my file system.  That is, my local clone was on branch master, so master was loaded, rather than working.

What am I doing wrong, and how do I fix the baseline so that the correct branch is loaded?

Andrew

The complete baseline is as follows:

baseline: spec
<baseline>

spec for: #'common' do: [
spec
baseline: 'SmaCC' 
with: [ spec repository: 'github://apblack/SmaCC:working' ].
spec
baseline: 'FileDialog'
with: [ spec repository: 'github://peteruhnak/file-dialog/repository' ].
spec package: 'Grace-Scope'.
spec package: 'Grace-Names' with: [ spec requires: {'Grace-Parser' . 'Grace-Scope'} ].
spec package: 'Grace-Parser' with: [ spec requires: {'SmaCC' . 'Grace-Scope'} ].
spec package: 'Grace-IDE' with: [ 
spec requires: {'FileDialog' . 'Grace-Compiler'} ].
spec package: 'Grace-Compiler' with: [ 
spec requires: {'Grace-Parser' . 'Grace-Names'} ].
spec package: 'GraceTests' with: [ spec requires: {'Grace-Parser' . 'Grace-Names'} ] 
]