@@ -7,9 +7,9 @@ to Erlang.
|
|||||||
INSTALLING AND RUNNING
|
INSTALLING AND RUNNING
|
||||||
========================
|
========================
|
||||||
|
|
||||||
First you need to install libgit2 (gsoc edition):
|
First you need to install libgit2:
|
||||||
|
|
||||||
$ git clone git://github.com/tanoku/libgit2-gsoc2010.git
|
$ git clone git://github.com/libgit2/libgit2.git
|
||||||
$ cd libgit2
|
$ cd libgit2
|
||||||
$ make
|
$ make
|
||||||
$ make install
|
$ make install
|
||||||
|
|||||||
11
c_src/geef.c
11
c_src/geef.c
@@ -1,16 +1,7 @@
|
|||||||
#include "erl_nif.h"
|
#include "erl_nif.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <git2/commit.h>
|
#include <git2.h>
|
||||||
#include <git2/tag.h>
|
|
||||||
#include <git2/common.h>
|
|
||||||
#include <git2/errors.h>
|
|
||||||
#include <git2/index.h>
|
|
||||||
#include <git2/odb.h>
|
|
||||||
#include <git2/oid.h>
|
|
||||||
#include <git2/revwalk.h>
|
|
||||||
#include <git2/repository.h>
|
|
||||||
#include <git2/zlib.h>
|
|
||||||
|
|
||||||
#define MAXBUFLEN 1024
|
#define MAXBUFLEN 1024
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user