snaputil -- Snapper Project Creation Utility
Create a new project
snaputil -n|new -d|directory=directory [-m|module=module]
Explode a snapper application file (NOT IMPLEMENTED)
snaputil -e|explode -f|file=filename -d|directory=directory
Help
snaputil -h|help
- n|new
-
create a new project skeleton
- e|explode
-
explode a snapper application into directory/files
- d|directory
-
output directory for new or exploded project
- f|file
-
input file name, default output.xml or output.pl
- m|module
-
perl module, default Snapper
- h|help
-
this message
Snaputil does several utility functions for snapper programs. Currently
snaputil creates an empty project with a sample MAIN window. In the future
a reverse compiler will be added.
The skeleton project created can be used as a starting point for snapper
projects. The project will contain a MAIN.module directory along with the
header directory. A generic startup script will be provided along with
a starting glade file.
% snaputil -n -d sample
% ls -R sample
sample:
MAIN.module/ header/
sample/MAIN.module:
scripts/ widget/
sample/MAIN.module/scripts:
999_startup.pl
sample/MAIN.module/widget:
MAIN.glade
sample/header:
project.options start_script.pl
The following commands will create the project and display the sample
window.
% snaputil -n -d sample
<.. output messages ..>
% snapmake -d sample -f sample.pl -c
% perl sample.pl
The sample hello world window will be displayed.
Bill Walz, bill@landsharklinux.com
perl(1).
Gtk.
Gtk::GladeXML.
GTK http://www.gtk.org/
Glade http://glade.pn.org/
LibGlade http://www.daa.com.au/~james/gnome/
You may distribute under the terms of either the GNU General Public
License or the Artistic License, as specified in the Perl README file,
with the exception that it cannot be placed on a CD-ROM or similar media
for commercial distribution without the prior approval of the author.
|