Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (29 sloc) 0.907 kB
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
1 NODE_JS = $(if $(shell test -f /usr/bin/nodejs && echo "true"),nodejs,node)
2 NODE_BLD = node-waf
3 NODE_LIB_PATH = ~/.node_libraries
fd31d78 @tbranyen Updates to unit test system and readme
tbranyen authored
4
0a0896b @tbranyen Updateds to build, and fixed boolean issues
tbranyen authored
5 BASE = .
1078f6b @tbranyen updates to project name
tbranyen authored
6 INSTALL_PATH = $(NODE_LIB_PATH)/nodegit
0a0896b @tbranyen Updateds to build, and fixed boolean issues
tbranyen authored
7
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
8 all: build_bindings
0a0896b @tbranyen Updateds to build, and fixed boolean issues
tbranyen authored
9
2a900f5 @tbranyen Various api improvements, updated readme
tbranyen authored
10 update: clean config build_bindings uninstall install
11
12 config:
13 @@$(BASE)/configure
14
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
15 build_bindings:
16 @@$(NODE_BLD) build
84f444a @tbranyen Updated readme and build process
tbranyen authored
17
ef0dcae @tbranyen Added in revwalker code, code *is* broken atm Ref issues must be figu…
tbranyen authored
18 install:
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
19 @@mkdir -p $(INSTALL_PATH)
20 @@mkdir -p $(INSTALL_PATH)/build/default
21 @@mkdir -p $(INSTALL_PATH)/lib
22
1078f6b @tbranyen updates to project name
tbranyen authored
23 @@cp -f $(BASE)/build/default/nodegit.node $(INSTALL_PATH)/build/default/nodegit.node
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
24 @@cp -f $(BASE)/lib/* $(INSTALL_PATH)/lib/
25 @@cp -f $(BASE)/package.json $(INSTALL_PATH)/
2b28639 @tbranyen Finalized installation in makefile
tbranyen authored
26
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
27 @@echo "Installed to $(INSTALL_PATH)"
2b28639 @tbranyen Finalized installation in makefile
tbranyen authored
28
29 uninstall:
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
30 @@rm -rf $(INSTALL_PATH)
31 @@echo "Uninstalled from $(INSTALL_PATH)"
ef0dcae @tbranyen Added in revwalker code, code *is* broken atm Ref issues must be figu…
tbranyen authored
32
0a0896b @tbranyen Updateds to build, and fixed boolean issues
tbranyen authored
33 clean:
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
34 @@rm -rf $(BASE)/build
35 @@rm -rf $(BASE)/vendor/libgit2/build
aa2bbaa @tbranyen Updated unit tests , added jshinting, updated files to pass jshint, t…
tbranyen authored
36
37 unittest:
8fcb91f @tbranyen Added vendor back into gitignore, added lots of new unittests, remove…
tbranyen authored
38 @@$(NODE_JS) $(BASE)/test/index.js test
aa2bbaa @tbranyen Updated unit tests , added jshinting, updated files to pass jshint, t…
tbranyen authored
39
40 lint:
8fcb91f @tbranyen Added vendor back into gitignore, added lots of new unittests, remove…
tbranyen authored
41 @@$(NODE_JS) $(BASE)/util/hint-check.js
Something went wrong with that request. Please try again.