[squeak-dev] DoItFirst updates (for command option handling early in Squeak image startUp processing)

David T. Lewis lewis at mail.msen.com
Fri Aug 7 03:01:16 UTC 2020


I have added a couple of enhancements to DoItFirst. The -noinit option
disables file and directory initialization to force a bare minimum of
startup initialization. The -debug option provides a debugger halt at
the earliest feasible point in the startup processing.

To install:

(Installer ss project: 'DoItFirst')
	package: 'DoItFirst-System-Support';
	install
  
DoItFirst image arguments:
	-doit argumentlist "evaluate each argument as a doIt expression"
	-evaluate arg "evaluate arg, print result then exit"
	-filein filelist "file in each file named in fileList"
	-cwd path "set FileDirectory defaultDirectory to path prior to evaluating other options"
	-debug "enter a debugger as soon as possible in the startUp processing"
	-noinit "mimimal initiialization, suppress file and directory startUp processing when evaluating options"
	-help "print this message"
  
To make this work, call DoItFirst reevaluateDebug from Delay class>>startUp
and call DoItFirst reevaluateCwd from FileDirectory class>>startUp

Dave


More information about the Squeak-dev mailing list