Browse Source

fix bug in last commit for when punk::mix::templates fails to load

master
Julian Noble 3 weeks ago
parent
commit
271fffc150
  1. 3
      src/bootsupport/modules/punk/mix-0.2.1.tm
  2. 3
      src/modules/punk/mix-999999.0a1.0.tm
  3. 3
      src/project_layouts/custom/_project/punk.project-0.1/src/bootsupport/modules/punk/mix-0.2.1.tm
  4. 3
      src/project_layouts/custom/_project/punk.shell-0.1/src/bootsupport/modules/punk/mix-0.2.1.tm

3
src/bootsupport/modules/punk/mix-0.2.1.tm

@ -20,6 +20,7 @@ tcl::namespace::eval punk::mix {
} errTemplates]} {
#emit a warning - but continue on without templates anyway. (punk::mix required to load when using bootsupport paths)
puts stderr "punk::mix failed to load ZIP archive-based module punk::mix::templates\nUse a modern Tcl with zipfs, or a recent vfs::zip library\nError:$errTemplates"
puts stderr "Unable to register any template providers - continuing anyway"
} else {
set t [time {
if {[catch {punk::mix::templates::provider register *} errM]} {
@ -29,9 +30,9 @@ tcl::namespace::eval punk::mix {
puts stderr $::errorInfo
}
}]
}
puts stderr "->punk::mix::templates::provider register * t=$t"
}
}
init
}

3
src/modules/punk/mix-999999.0a1.0.tm

@ -20,6 +20,7 @@ tcl::namespace::eval punk::mix {
} errTemplates]} {
#emit a warning - but continue on without templates anyway. (punk::mix required to load when using bootsupport paths)
puts stderr "punk::mix failed to load ZIP archive-based module punk::mix::templates\nUse a modern Tcl with zipfs, or a recent vfs::zip library\nError:$errTemplates"
puts stderr "Unable to register any template providers - continuing anyway"
} else {
set t [time {
if {[catch {punk::mix::templates::provider register *} errM]} {
@ -29,9 +30,9 @@ tcl::namespace::eval punk::mix {
puts stderr $::errorInfo
}
}]
}
puts stderr "->punk::mix::templates::provider register * t=$t"
}
}
init
}

3
src/project_layouts/custom/_project/punk.project-0.1/src/bootsupport/modules/punk/mix-0.2.1.tm

@ -20,6 +20,7 @@ tcl::namespace::eval punk::mix {
} errTemplates]} {
#emit a warning - but continue on without templates anyway. (punk::mix required to load when using bootsupport paths)
puts stderr "punk::mix failed to load ZIP archive-based module punk::mix::templates\nUse a modern Tcl with zipfs, or a recent vfs::zip library\nError:$errTemplates"
puts stderr "Unable to register any template providers - continuing anyway"
} else {
set t [time {
if {[catch {punk::mix::templates::provider register *} errM]} {
@ -29,9 +30,9 @@ tcl::namespace::eval punk::mix {
puts stderr $::errorInfo
}
}]
}
puts stderr "->punk::mix::templates::provider register * t=$t"
}
}
init
}

3
src/project_layouts/custom/_project/punk.shell-0.1/src/bootsupport/modules/punk/mix-0.2.1.tm

@ -20,6 +20,7 @@ tcl::namespace::eval punk::mix {
} errTemplates]} {
#emit a warning - but continue on without templates anyway. (punk::mix required to load when using bootsupport paths)
puts stderr "punk::mix failed to load ZIP archive-based module punk::mix::templates\nUse a modern Tcl with zipfs, or a recent vfs::zip library\nError:$errTemplates"
puts stderr "Unable to register any template providers - continuing anyway"
} else {
set t [time {
if {[catch {punk::mix::templates::provider register *} errM]} {
@ -29,9 +30,9 @@ tcl::namespace::eval punk::mix {
puts stderr $::errorInfo
}
}]
}
puts stderr "->punk::mix::templates::provider register * t=$t"
}
}
init
}

Loading…
Cancel
Save