[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [ANN] Overlord, an IDE for GNU Smalltalk
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] [ANN] Overlord, an IDE for GNU Smalltalk |
Date: |
Fri, 05 Aug 2011 11:38:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 |
On 08/05/2011 11:17 AM, ZuLuuuuuu wrote:
I haven't packaged it yet (actually I might need a help there I don't know
how gst-blox or gst-browser executers are created) so here is a tarball:
They are wrappers around gst-load. While gst-blox and gst-browser are
hard-coded in gst-tool.c, you can do the same with a shell script.
Put the content of Main.st in the <start></start> tag of the package.xml
file. Then gst-overlord can be something like this:
---------------------------------- 8< ----------------------------------
#! /bin/sh
# Parse arguments into $ARGS
ARGS=$(getopt -l image-file:,kernel-directory:,verbose -o I:vV -- "$@")
# Exit if there was an error
test $? -ne 0 && exit 1
# Move arguments to "$@"
eval set -- "$ARGS"
# Fail if there were any non-option arguments
eval test \$$# = -- || exit 1
# Finally start the package
gst-load -n --start "$@" Overload
---------------------------------- 8< ----------------------------------
I'm not sure whether this use of getopt is portable to non-Linux systems
though.
Paolo