Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 54 lines (37 sloc) 1.171 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
2fcf21c @tbranyen various updates to source, added *hopefuls for 0.0.3* now bundling na…
tbranyen authored
8 NATURAL_DOCS_PATH = $(BASE)/vendor/naturaldocs/
0a0896b @tbranyen Updateds to build, and fixed boolean issues
tbranyen authored
9
2fcf21c @tbranyen various updates to source, added *hopefuls for 0.0.3* now bundling na…
tbranyen authored
10 all: build
11
12 update: clean config build uninstall install
2a900f5 @tbranyen Various api improvements, updated readme
tbranyen authored
13
14 config:
15 @@$(BASE)/configure
16
2fcf21c @tbranyen various updates to source, added *hopefuls for 0.0.3* now bundling na…
tbranyen authored
17 build:
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
18 @@$(NODE_BLD) build
84f444a @tbranyen Updated readme and build process
tbranyen authored
19
9cd642e @tbranyen updated to use scope.Close everywhere fixes #19
tbranyen authored
20 debug:
21 @@$(NODE_BLD) debug
22
ef0dcae @tbranyen Added in revwalker code, code *is* broken atm Ref issues must be figu…
tbranyen authored
23 install:
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
24 @@mkdir -p $(INSTALL_PATH)
25 @@mkdir -p $(INSTALL_PATH)/build/default
26 @@mkdir -p $(INSTALL_PATH)/lib
f64c878 @tbranyen updated nodegit version, cleaned up index file, and updated makefile
tbranyen authored
27 @@mkdir -p $(INSTALL_PATH)/vendor
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
28
1078f6b @tbranyen updates to project name
tbranyen authored
29 @@cp -f $(BASE)/build/default/nodegit.node $(INSTALL_PATH)/build/default/nodegit.node
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
30 @@cp -f $(BASE)/lib/* $(INSTALL_PATH)/lib/
f64c878 @tbranyen updated nodegit version, cleaned up index file, and updated makefile
tbranyen authored
31 @@cp -rf $(BASE)/vendor/* $(INSTALL_PATH)/vendor/
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
32 @@cp -f $(BASE)/package.json $(INSTALL_PATH)/
2b28639 @tbranyen Finalized installation in makefile
tbranyen authored
33
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
34 @@echo "Installed to $(INSTALL_PATH)"
2b28639 @tbranyen Finalized installation in makefile
tbranyen authored
35
36 uninstall:
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
37 @@rm -rf $(INSTALL_PATH)
38 @@echo "Uninstalled from $(INSTALL_PATH)"
ef0dcae @tbranyen Added in revwalker code, code *is* broken atm Ref issues must be figu…
tbranyen authored
39
0a0896b @tbranyen Updateds to build, and fixed boolean issues
tbranyen authored
40 clean:
8d75b4f @tbranyen removed clear entires
tbranyen authored
41 @@rm -rf $(BASE)/build/
42 @@rm -rf $(BASE)/vendor/libgit2/build/
aa2bbaa @tbranyen Updated unit tests , added jshinting, updated files to pass jshint, t…
tbranyen authored
43
2fcf21c @tbranyen various updates to source, added *hopefuls for 0.0.3* now bundling na…
tbranyen authored
44 test:
8fcb91f @tbranyen Added vendor back into gitignore, added lots of new unittests, remove…
tbranyen authored
45 @@$(NODE_JS) $(BASE)/test/index.js test
aa2bbaa @tbranyen Updated unit tests , added jshinting, updated files to pass jshint, t…
tbranyen authored
46
47 lint:
8fcb91f @tbranyen Added vendor back into gitignore, added lots of new unittests, remove…
tbranyen authored
48 @@$(NODE_JS) $(BASE)/util/hint-check.js
2fcf21c @tbranyen various updates to source, added *hopefuls for 0.0.3* now bundling na…
tbranyen authored
49
50 doc:
086151c @tbranyen removed doc files and moved theme into doc
tbranyen authored
51 @@$(NATURAL_DOCS_PATH)/NaturalDocs -i $(BASE)/include -o HTML $(BASE)/doc -p $(BASE)/doc -s Theme
2fcf21c @tbranyen various updates to source, added *hopefuls for 0.0.3* now bundling na…
tbranyen authored
52
ef0f26b @tbranyen updated makefile and renamed docs folder to doc updated readme
tbranyen authored
53 .PHONY: test build doc
Something went wrong with that request. Please try again.