<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 26, 2024 at 8:59 AM Marten Feldtmann via Glass <<a href="mailto:glass@lists.gemtalksystems.com">glass@lists.gemtalksystems.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I am in the process of switching from GsDevKit_home to GsDevKit_stones<br>
(for my runtime environments) and I have lots of codes here, <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">... <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Or is there a more simplier way ??<br></blockquote>All you need to do is add the following line at the top of a standard topaz script :<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">#!/usr/bin/env superdoit_topaz</blockquote><div>make the file executable and then execute the topaz script (GsDevKit_stones/bin needs to be in you path):</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">mytopazscript.topaz -L -I <path-to .topazini file><br></blockquote><div>If you are running the script in a directory where the .topazini you want to use already exists (like the stone directory), topaz always looks in the local directory for a .topazin file and you don't need to use the `-I` option:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> mytopazscript.topaz -L</blockquote><div>I usually use the arguments `-Lq` to launch a .topaz script to suppress the topaz head file.<br></div><br></div><div class="gmail_quote">You can look at the template.topaz script in the superDoit clone or look at the template online[1] for a full example.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Dale <br></div><div class="gmail_quote"> <div>[1] <a href="https://github.com/dalehenrich/superDoit/blob/v4.2/examples/templates/template.topaz">https://github.com/dalehenrich/superDoit/blob/v4.2/examples/templates/template.topaz</a></div></div></div>