aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add clean make targetGravatar Tom Willemse2013-05-271-1/+4
|
* Add user manualGravatar Tom Willemse2013-05-271-2/+2
|
* Add DESTDIR as prefix to extension destinationGravatar Tom Willemse2013-05-231-3/+4
| | | | | | | The `pkg-config' program needs to know about the prefix DESTDIR to determine where the files in `src/' should be installed. If this option is not passed along to `pkg-config' it will always try to install in `/usr/'.
* Change nameGravatar Tom Willemse2013-05-202-2/+2
|
* If PATH_MAX is defined, use itGravatar Tom Willemsen2012-09-181-1/+7
|
* Return #f when no path is foundGravatar Tom Willemsen2012-09-181-1/+4
| | | | Return `SCM_BOOL_F' when `realpath' can't find the path.
* Use guile-snarfGravatar Tom Willemsen2012-08-013-6/+12
| | | | | | | | Because it looks cooler. This way its easy to keep all the information about the function in one place, and it makes it easier/more interesting to add new functions later.
* Add GPL commentsGravatar Tom Willemsen2012-07-311-0/+19
|
* Add relative directory parsingGravatar Tom Willemsen2012-07-313-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of now, when using `-r' or `-R', relative directories can be used. This *does not* include locations starting with `~', those still need to be handled by your shell. Because every repo is treated as a possible relative path, and thus passed on to `realpath', the paths have become very uniform. This means that it will now only register and unregister paths that don't have a trailing `/'. This is not true during usage, so those paths still work, but they can't be removed by gitto, and adding them again will create a duplicate entry. * gitto/Makefile (objects): Add `path.scm' and `path.go'. (.PHONY): Add `all' as a phony target. (all): New target, compiles all `.go' targets. ($(filter %.go,$(objects))): Use `env' to run guild so that include paths are setup properly. * gitto/main.scm (gitto): Use new `(gitto path)' module, it contains the `realpath' function. (register-repository): (remove-repository): Always pass REPOSITORY through `realpath' and use the result. * gitto/path.scm: New file. Loads the `libguile-gitto-path' extension and exports its `realpath' function. * src/Makefile (CFLAGS): (LDFLAGS): Use `pkg-config' to gather the necessary values for guile. (libguile-gitto-path.so): New guile extension, wraps the `readline' POSIX function. * src/gitto-path.c: New file, wraps and exports the `realpath' POSIX function from `stdlib.h'.
* Add GPL license and necessary commentsGravatar Tom Willemsen2012-07-011-0/+17
|
* Add Makefiles, utilityGravatar Tom Willemsen2012-07-012-0/+15
Change the directory structure and add a bunch of Makefiles to make it easy to install gitto. Also add a utility to run gitto in its current state.