GRRRR gmail shortcuts...<br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
4) How does one define dependencies that differ based on platform?<br>
<br>
In WebClient, the WebClient-HTTP package requires WebClient-Core and -only for: #pharo- also WebClient-Pharo. How does one express that there's an additional dependency for WebClient-HTTP that only exists for: #pharo? The config currently specifies:<br>
<br>
spec for: #common do:[<br>
" ... "<br>
spec package: 'WebClient-HTTP' with:[spec requires: 'WebClient-Core'].<br>
" ... "<br>
].<br>
<br>
spec for: #pharo do:[<br>
"Just the fact it exists; no requirements here"<br>
spec package: 'WebClient-Pharo'.<br>
].<br>
<br></blockquote></div><div><br><br>The only thing that comes to my mind now is to do:<div class="im"><br><br><br> spec for: #common do:[<br>
" ... "<br>
spec package: 'WebClient-HTTP' with:[spec requires:
'WebClient-Core'].<br>
" ... "<br>
].<br>
<br>
spec for: #pharo do:[<br></div>
spec package: 'WebClient-HTTP' with:[spec requires: {
'WebClient-Core' 'WebClient-Pharo'};</div></div></blockquote><div> spec package: 'WebClient-Pharo'.<br> ].<br></div><div><br>].<br>
<br><br> Cheers<br><br>Mariano<br></div></div>