$ sudo apt-get install gcc build-essential git emacs
$ git clone https://github.com/rusimody/gofer.git
Above should make a directory called gofer
Usually in your home but that depends on where you ran the git clone.
Following I’ll use the expression /path/to/gofer/...
Please replace path/to
by the actual path. In most cases ~
should be sufficient
cd into /path/to/gofer/src
and run
$ make
Currently there are/maybe warnings building gofer – Ignore!
Above should make an executable called gofer. When you run it (at shell as:)
$ ./gofer
you should get an error that looks like this:
ERROR "pustd.pre": Unable to open file
FATAL ERROR: Unable to load prelude
This is good.
OTOH if you get something like
command gofer not found
then something wrong happened at earlier stage.
Assuming that you got the ‘FATAL’ error, set the path thus at shell (make sure the path below is correct!)
$ export PUGOFER=/path/to/gofer/pusimple.pre
Now gofer should run (at shell) ie
$ ./gofer
should start.
If you dont want to use emacs, this much should be sufficient:
Just have gofer running in one window, an editor of your choice in another and whenever you want to add a changed file to gofer do (within gofer)
:l filename.gs
For emacs setup read the README in the emacs directory