You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Julian Noble 1f8af99805 G-128: punkbin publication route settled, staged and documented; punkshell 0.30.6 2 days ago
..
assets/logo G-057 achieved: flip, archive record, reference sweep, owning-doc pointers 2 days ago
bin
bootsupport make.tcl-generated outputs: bootsupport punk::zip 0.3.0 promotion 3 days ago
buildsuites CRLF hygiene ahead of the fossil catch-up: glob the vendored sdx patches, LF two strays 3 days ago
decktemplates G-087 stages 4+5: overlay merge primitive, marker/matrix retirement, version seeding 2 weeks ago
defaultconfigs
doc AGENTS.md with DOX framework 1 month ago
embedded
lib make.tcl window doc sweep: bake/bakehouse vocabulary across workflow references 6 days ago
lib_tcl8 AGENTS.md with DOX framework 1 month ago
lib_tcl9 AGENTS.md with DOX framework 1 month ago
modules G-033: proj: package-mode scope prefix - visitor binary resolves dev/src against the cwd's project 3 days ago
modules_tcl8 refactor AGENTS.md files 1 month ago
modules_tcl9 refactor AGENTS.md files 1 month ago
project_layouts make.tcl-generated outputs: layout sync copies of the tool subcommand 4 days ago
runtime G-057 achieved: flip, archive record, reference sweep, owning-doc pointers 2 days ago
scriptapps punk-getzig: spaced-path + Windows PowerShell 5 fixes (launcher and payload); punkshell 0.30.5 2 days ago
testansi
testdata
tests punk-runtime fetch: materialization hint when the working name is absent; punkshell 0.30.4 2 days ago
text
tools G-128: punkbin publication route settled, staged and documented; punkshell 0.30.6 2 days ago
vendorlib tablelist 6.22 -> 7.11: vendor as pkgIndex lib instead of tm modules 2 weeks ago
vendorlib_tcl8 Platform matrix: win32-ix86 - supported for third-party hosting, buildsuite candidate 1 week ago
vendorlib_tcl9 Platform matrix: win32-ix86 - supported for third-party hosting, buildsuite candidate 1 week ago
vendormodules vendormodules: fauxlink 0.2.0 - link_as encoder implemented upstream 2 weeks ago
vendormodules_tcl8 cookfs1.9.0: relocate misplaced pkgIndex library to vendorlib_tcl8/win32-x86_64 1 week ago
vendormodules_tcl9
vfs G-057 achieved: flip, archive record, reference sweep, owning-doc pointers 2 days ago
AGENTS.md src/AGENTS.md: tools index entry names punkres (G-128 tool now vendored) 2 days ago
README.md make.tcl window doc sweep: bake/bakehouse vocabulary across workflow references 6 days ago
Tcl9icon.six
Tcl9icon.svg
build.cmd
build.ps1
build.tcl
error_overtype.txt
make.tcl G-128: punkbin publication route settled, staged and documented; punkshell 0.30.6 2 days ago
test.txt

README.md

punk shell

Runtimes

#run from project root:  
./bin/punk-runtime.cmd list -remote
# This is a cross-platform polyglot wrapper that should run from bash, or with tclsh or in windows directly in powershell/cmd.exe
./bin/punk-runtime.cmd fetch

#if no retrievable runtime for your platform, you'll need a vfs capable tclkit or a zipfs capable tclsh with an attached vfs

#todo: exact notes on creating suitable runtimes (plain tclsh will likely be missing zipfs vfs to mount)

Build Instructions

  • Use tclsh|<punkruntime> make.tcl <commandname> to build .tm modules and rebuild the punk executable In normal use it should be called from the project root. e.g
 tclsh src/make.tcl vendorupdate   ;# if needed

 tclsh src/make.tcl packages       ;# build/install the unversioned libs / modules to <projectroot>
 # or separately:
 # tclsh src/make.tcl modules      ;# src/modules -> /modules (etc)
 # tclsh src/make.tcl libs         ;# src/lib     -> /lib (etc)

 tclsh src/make.tcl vfscommonupdate ;copy the  libs/modules that are now in <projectroot>/modules to vfs system for inclusion in the binary.

 # If make.tcl dependencies are modified:
 # tclsh src/make.tcl bootsupport  ;# src/modules -> src/bootsupport/modules,  src/lib -> src/bootsupport/lib (etc)

 tclsh src/make.tcl bake            ;# assemble kit/zipkit executables from the promoted vfs payload + runtimes
 # (consumer path from a CLEAN checkout: 'tclsh src/make.tcl bakehouse' = packages + bake in one run;
 #  'make.tcl workflow' prints the full data-flow overview. 'project'/'vfs' remain as deprecated aliases.)
A common interactive test scenario (after running src/tests/runtests.tcl to test the unversioned source)
is to run 'tclsh src/make.tcl modules'
Then '<punkexecutable> dev'
This will source modules/libs from <projectroot>/modules and <projectroot>/lib intead of from the executable's vfs. 
  • Then Use tclsh|punk build.tcl to run the 'kettle' system to build doc files,
    or - use the pmix KettleShell command from within the punk shell to perform kettle operations. Confirm with user or ask user to manually run.

(The name 'build.tcl' is the standard name used by the Kettle system - it is not for building the punk project.)