mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 19:51:32 +02:00
Fixed some typos and bugs in the Salt templates
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<file alias="grain.xml">salt_templates/ruby_lib/grain.xml</file>
|
||||
</qresource>
|
||||
<qresource prefix="/salt_templates/ruby_lib/macros">
|
||||
<file alias="new_ruby_lib.lym">salt_templates/ruby_lib/macros/new_ruby_lib.lym</file>
|
||||
<file alias="new_macro.lym">salt_templates/ruby_lib/macros/new_macro.lym</file>
|
||||
</qresource>
|
||||
<qresource prefix="/salt_templates/ruby_lib/doc">
|
||||
<file alias="readme.html">salt_templates/ruby_lib/doc/readme.html</file>
|
||||
@@ -72,8 +72,8 @@
|
||||
<qresource prefix="/salt_templates/python_lib">
|
||||
<file alias="grain.xml">salt_templates/python_lib/grain.xml</file>
|
||||
</qresource>
|
||||
<qresource prefix="/salt_templates/python_lib/macros">
|
||||
<file alias="new_python_lib.lym">salt_templates/python_lib/macros/new_python_lib.lym</file>
|
||||
<qresource prefix="/salt_templates/python_lib/pymacros">
|
||||
<file alias="new_macro.lym">salt_templates/python_lib/pymacros/new_macro.lym</file>
|
||||
</qresource>
|
||||
<qresource prefix="/salt_templates/python_lib/doc">
|
||||
<file alias="readme.html">salt_templates/python_lib/doc/readme.html</file>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<klayout-macro>
|
||||
<description>The New DRC Script</description>
|
||||
<category>drc</category>
|
||||
<prolog/>
|
||||
<epilog/>
|
||||
<autorun>false</autorun>
|
||||
@@ -9,12 +10,13 @@
|
||||
<show-in-menu>false</show-in-menu>
|
||||
<group-name/>
|
||||
<menu-path/>
|
||||
<interpreter>ruby</interpreter>
|
||||
<dsl-interpreter-name/>
|
||||
<interpreter>dsl</interpreter>
|
||||
<dsl-interpreter-name>drc-dsl-xml</dsl-interpreter-name>
|
||||
<text># This is the new DRC script created with the sample DRC package
|
||||
|
||||
report("Sample DRC")
|
||||
|
||||
l1 = input(1, 0)
|
||||
l1.width(1.0.um).output("Width (Layer 1) < 1.0 um")
|
||||
</text>
|
||||
</klayout-macro>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<dsl-interpreter-name/>
|
||||
<text># This is the new macro created with the sample macro package
|
||||
|
||||
RBA::MessageBox::information("Information", "This is the new macro created with the sample macro package", RBA::MessageBox::Ok)</text>
|
||||
RBA::MessageBox::info("Information", "This is the new macro created with the sample macro package", RBA::MessageBox::Ok)
|
||||
|
||||
# In order pull in classes from other packages, just specify these classes
|
||||
# in the dependencies of this package. Provided those packages contain macros
|
||||
|
||||
@@ -82,7 +82,7 @@ module PCellPackageModule
|
||||
library = Library::new
|
||||
|
||||
# TODO: change the description
|
||||
library = "My PCell package"
|
||||
library.description = "My PCell package"
|
||||
|
||||
# register the PCell declarations
|
||||
# TODO: change the names
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<dsl-interpreter-name/>
|
||||
<text># This is the new macro created with the sample macro package
|
||||
|
||||
pya.MessageBox.information("Information", "This is the new macro created with the sample macro package", pya.MessageBox.Ok)</text>
|
||||
pya.MessageBox.info("Information", "This is the new macro created with the sample macro package", pya.MessageBox.Ok)
|
||||
|
||||
# In order pull in classes from other packages, just specify these classes
|
||||
# in the dependencies of this package. Provided those packages contain macros
|
||||
|
||||
Reference in New Issue
Block a user