during development of a Tcl application with tclkit, I frequently do edits
in my app.vfs directory. After editing, it seems I have to sdx wrap the
directory to make a kit file, and after that can execute (or test) my
application. Is it possible to directly run my application without first
wrapping it? (of course using the same tclkit that is used to execute the
wrapped application)
Another related question is: How can I handle tcltests in a kit? I would
like to know what are best practices to test an application (using tcltest)
which is a kit.
thanks,
sisusimple
Yes, you should just be able to
$ cat > helloworld.tcl
puts "Hello, world!"
$ sdx.kit qwrap helloworld.tcl
5 updates applied
$ ls hell*
helloworld.kit helloworld.tcl
$ sdx.kit unwrap helloworld.kit
5 updates applied
$ ls helloworld.vfs
lib main.tcl
$ tclkit helloworld.kit
Hello, world!
$ tclkit helloworld.vfs/main.tcl
Hello, world!