Browse Source

dev templates update

master
Julian Noble 5 months ago
parent
commit
563e7f8c0e
  1. 0
      src/decktemplates/custom/_project/layout_refs/@custom+_project+punk.project-0.1.ref
  2. 4
      src/decktemplates/custom/punk/modules/template_cli-0.0.1.tm
  3. 3
      src/decktemplates/vendor/_project/modules/template_anyname-0.0.2.tm
  4. 0
      src/decktemplates/vendor/punk/layout_refs/project@vendor+punk+project-0.1.refXXX
  5. 2
      src/decktemplates/vendor/punk/modules/nodoc/template_anyname-0.0.2.tm
  6. 4
      src/decktemplates/vendor/punk/modules/template_cli-0.0.1.tm
  7. 6
      src/decktemplates/vendor/punk/modules/template_module-0.0.1.tm
  8. 6
      src/decktemplates/vendor/punk/modules/template_module-0.0.2.tm

0
src/decktemplates/vendor/punk/layout_refs/project@vendor+punk+project-0.1.ref → src/decktemplates/custom/_project/layout_refs/@custom+_project+punk.project-0.1.ref

4
src/decktemplates/custom/punk/modules/template_cli-0.0.1.tm

@ -43,7 +43,7 @@
#[para] packages used by %pkg%
#[list_begin itemized]
package require Tcl 8.6
package require Tcl 8.6-
package require punk::overlay
package require punk::mix::base
package require punk::mix::util
@ -61,6 +61,7 @@ package require punk::mix::util
#[list_end]
namespace eval %pkg% {
namespace export {[a-z]*} ;# Convention: export all lowercase
namespace ensemble create
#package require punk::overlay
#punk::overlay::import_commandset debug . ::punk:mix::commandset::debug
@ -80,6 +81,7 @@ namespace eval %pkg% {
# ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++
namespace eval %pkg%::lib {
namespace export {[a-z]*} ;# Convention: export all lowercase
namespace path ::punk::mix::util ;#askuser, do_in_path, foreach-file etc
}

3
src/decktemplates/vendor/_project/modules/template_anyname-0.0.2.tm vendored

@ -27,6 +27,7 @@ apply {code { #auto determine package name and version from name and placement o
namespace eval $pkgns [string map [list <pkg> $pkgns <ver> $ver] $code]
package provide $pkgns $ver;# only provide package if code evaluated without error
} ::} {
namespace export {[a-z]*} ;# Convention: export all lowercase
#--------------------------------------
variable pkg "<pkg>"
variable version "<ver>"
@ -39,8 +40,8 @@ apply {code { #auto determine package name and version from name and placement o
#proc test {args} {puts "[namespace current]::test got args: $args"}
namespace eval [namespace current]::lib {
namespace export {[a-z]*} ;# Convention: export all lowercase
#proc test {args} {puts "[namespace current]::test got args: $args"}
}

0
src/decktemplates/vendor/punk/layout_refs/project@vendor+punk+project-0.1.refXXX vendored

2
src/decktemplates/vendor/punk/modules/nodoc/template_anyname-0.0.2.tm vendored

@ -27,6 +27,7 @@ apply {code { #auto determine package name and version from name and placement o
namespace eval $pkgns [string map [list <pkg> $pkgns <ver> $ver] $code]
package provide $pkgns $ver;# only provide package if code evaluated without error
} ::} {
namespace export {[a-z]*} ;# Convention: export all lowercase
#--------------------------------------
variable pkg "<pkg>"
variable version "<ver>"
@ -41,6 +42,7 @@ apply {code { #auto determine package name and version from name and placement o
namespace eval [namespace current]::lib {
namespace export {[a-z]*} ;# Convention: export all lowercase
#proc test {args} {puts "[namespace current]::test got args: $args"}
}

4
src/decktemplates/vendor/punk/modules/template_cli-0.0.1.tm vendored

@ -42,7 +42,7 @@
#[para] packages used by %pkg%
#[list_begin itemized]
package require Tcl 8.6
package require Tcl 8.6-
package require punk::overlay
package require punk::mix::base
package require punk::mix::util
@ -60,6 +60,7 @@ package require punk::mix::util
#[list_end]
namespace eval %pkg% {
namespace export {[a-z]*} ;# Convention: export all lowercase
namespace ensemble create
#package require punk::overlay
#punk::overlay::import_commandset debug . ::punk:mix::commandset::debug
@ -79,6 +80,7 @@ namespace eval %pkg% {
# ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++
namespace eval %pkg%::lib {
namespace export {[a-z]*} ;# Convention: export all lowercase
namespace path ::punk::mix::util ;#askuser, do_in_path, foreach-file etc
}

6
src/decktemplates/vendor/punk/modules/template_module-0.0.1.tm vendored

@ -44,7 +44,7 @@
#[para] packages used by %pkg%
#[list_begin itemized]
package require Tcl 8.6
package require Tcl 8.6-
#*** !doctools
#[item] [package {Tcl 8.6}]
@ -97,7 +97,7 @@ namespace eval %pkg%::class {
# Base namespace
# ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++
namespace eval %pkg% {
namespace export *
namespace export {[a-z]*} ;# Convention: export all lowercase
#variable xyz
#*** !doctools
@ -127,7 +127,7 @@ namespace eval %pkg% {
# Secondary API namespace
# ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++
namespace eval %pkg%::lib {
namespace export *
namespace export {[a-z]*} ;# Convention: export all lowercase
namespace path [namespace parent]
#*** !doctools
#[subsection {Namespace %pkg%::lib}]

6
src/decktemplates/vendor/punk/modules/template_module-0.0.2.tm vendored

@ -45,7 +45,7 @@
#[para] packages used by %pkg%
#[list_begin itemized]
package require Tcl 8.6
package require Tcl 8.6-
#*** !doctools
#[item] [package {Tcl 8.6}]
@ -98,7 +98,7 @@ namespace eval %pkg%::class {
# Base namespace
# ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++
namespace eval %pkg% {
namespace export *
namespace export {[a-z]*} ;# Convention: export all lowercase
#variable xyz
#*** !doctools
@ -133,7 +133,7 @@ namespace eval %pkg% {
# Secondary API namespace
# ++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++
namespace eval %pkg%::lib {
namespace export *
namespace export {[a-z]*} ;# Convention: export all lowercase
namespace path [namespace parent]
#*** !doctools
#[subsection {Namespace %pkg%::lib}]

Loading…
Cancel
Save