16 changed files with 3158 additions and 73 deletions
@ -1,24 +1,24 @@ |
|||||||
This is primarily for tcl .tm modules required for your bootstrapping/make/build process. |
This is primarily for tcl .tm modules required for your bootstrapping/make/build process. |
||||||
It could include other files necessary for this process. |
It could include other files necessary for this process. |
||||||
|
|
||||||
The .tm modules here may be required for your build script if it intended the installation operator uses an existing tclsh or other shell as opposed to a tclkit you may have for distribution which is more likely to include necessary libraries. |
The .tm modules here may be required for your build script if it intended the installation operator uses an existing tclsh or other shell as opposed to a tclkit you may have for distribution which is more likely to include necessary libraries. |
||||||
|
|
||||||
The modules here are loaded by your initialisation scripts and so can be a snapshot of different versions than those in your project src. |
The modules here are loaded by your initialisation scripts and so can be a snapshot of different versions than those in your project src. |
||||||
The modules can be your own, or 3rd party such as individual items from tcllib. |
The modules can be your own, or 3rd party such as individual items from tcllib. |
||||||
|
|
||||||
You can copy modules from a running punk shell to this location using the dev command. |
You can copy modules from a running punk shell to this location using the dev command. |
||||||
|
|
||||||
e.g |
e.g |
||||||
dev lib.copyasmodule some::module::lib bootsupport |
dev lib.copyasmodule some::module::lib bootsupport |
||||||
|
|
||||||
The dev command will help you pick the latest version, and will create any necessary file structure matching the namespace of the package. |
The dev command will help you pick the latest version, and will create any necessary file structure matching the namespace of the package. |
||||||
|
|
||||||
e.g the result might be a file such as |
e.g the result might be a file such as |
||||||
<projectname>/src/bootsupport/some/module/lib-0.1.tm |
<projectname>/src/bootsupport/some/module/lib-0.1.tm |
||||||
|
|
||||||
The originating library may not yet be in .tm form. |
The originating library may not yet be in .tm form. |
||||||
You can copy a pkgIndex.tcl based library that is composed of a single .tcl file the same way using the above process and it will automatically name and file it appropriately but you need to check that the library doesn't require/load additional files - and that it is Tcl script only. |
You can copy a pkgIndex.tcl based library that is composed of a single .tcl file the same way using the above process and it will automatically name and file it appropriately but you need to check that the library doesn't require/load additional files - and that it is Tcl script only. |
||||||
|
|
||||||
Always verify that the library is copyable in this manner and test in a shell with tcl::tm::path pointed to ./bootsupport that it works. |
Always verify that the library is copyable in this manner and test in a shell with tcl::tm::path pointed to ./bootsupport that it works. |
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -1,24 +1,24 @@ |
|||||||
This is primarily for tcl .tm modules required for your bootstrapping/make/build process. |
This is primarily for tcl .tm modules required for your bootstrapping/make/build process. |
||||||
It could include other files necessary for this process. |
It could include other files necessary for this process. |
||||||
|
|
||||||
The .tm modules here may be required for your build script if it intended the installation operator uses an existing tclsh or other shell as opposed to a tclkit you may have for distribution which is more likely to include necessary libraries. |
The .tm modules here may be required for your build script if it intended the installation operator uses an existing tclsh or other shell as opposed to a tclkit you may have for distribution which is more likely to include necessary libraries. |
||||||
|
|
||||||
The modules here are loaded by your initialisation scripts and so can be a snapshot of different versions than those in your project src. |
The modules here are loaded by your initialisation scripts and so can be a snapshot of different versions than those in your project src. |
||||||
The modules can be your own, or 3rd party such as individual items from tcllib. |
The modules can be your own, or 3rd party such as individual items from tcllib. |
||||||
|
|
||||||
You can copy modules from a running punk shell to this location using the dev command. |
You can copy modules from a running punk shell to this location using the dev command. |
||||||
|
|
||||||
e.g |
e.g |
||||||
dev lib.copyasmodule some::module::lib bootsupport |
dev lib.copyasmodule some::module::lib bootsupport |
||||||
|
|
||||||
The dev command will help you pick the latest version, and will create any necessary file structure matching the namespace of the package. |
The dev command will help you pick the latest version, and will create any necessary file structure matching the namespace of the package. |
||||||
|
|
||||||
e.g the result might be a file such as |
e.g the result might be a file such as |
||||||
<projectname>/src/bootsupport/some/module/lib-0.1.tm |
<projectname>/src/bootsupport/some/module/lib-0.1.tm |
||||||
|
|
||||||
The originating library may not yet be in .tm form. |
The originating library may not yet be in .tm form. |
||||||
You can copy a pkgIndex.tcl based library that is composed of a single .tcl file the same way using the above process and it will automatically name and file it appropriately but you need to check that the library doesn't require/load additional files - and that it is Tcl script only. |
You can copy a pkgIndex.tcl based library that is composed of a single .tcl file the same way using the above process and it will automatically name and file it appropriately but you need to check that the library doesn't require/load additional files - and that it is Tcl script only. |
||||||
|
|
||||||
Always verify that the library is copyable in this manner and test in a shell with tcl::tm::path pointed to ./bootsupport that it works. |
Always verify that the library is copyable in this manner and test in a shell with tcl::tm::path pointed to ./bootsupport that it works. |
||||||
|
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue