Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (33 sloc) 1.056 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 natur...
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 natur...
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 natur...
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
ef0dcae @tbranyen Added in revwalker code, code *is* broken atm Ref issues must be figured...
tbranyen authored
20 install:
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
21 @@mkdir -p $(INSTALL_PATH)
22 @@mkdir -p $(INSTALL_PATH)/build/default
23 @@mkdir -p $(INSTALL_PATH)/lib
24
1078f6b @tbranyen updates to project name
tbranyen authored
25 @@cp -f $(BASE)/build/default/nodegit.node $(INSTALL_PATH)/build/default/nodegit.node
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
26 @@cp -f $(BASE)/lib/* $(INSTALL_PATH)/lib/
27 @@cp -f $(BASE)/package.json $(INSTALL_PATH)/
2b28639 @tbranyen Finalized installation in makefile
tbranyen authored
28
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
29 @@echo "Installed to $(INSTALL_PATH)"
2b28639 @tbranyen Finalized installation in makefile
tbranyen authored
30
31 uninstall:
1579b2e @tbranyen added tree, entrycount is currently broken
tbranyen authored
32 @@rm -rf $(INSTALL_PATH)
33 @@echo "Uninstalled from $(INSTALL_PATH)"
ef0dcae @tbranyen Added in revwalker code, code *is* broken atm Ref issues must be figured...
tbranyen authored
34
0a0896b @tbranyen Updateds to build, and fixed boolean issues
tbranyen authored
35 clean:
8d75b4f @tbranyen removed clear entires
tbranyen authored
36 @@rm -rf $(BASE)/build/
37 @@rm -rf $(BASE)/vendor/libgit2/build/
aa2bbaa @tbranyen Updated unit tests , added jshinting, updated files to pass jshint, twea...
tbranyen authored
38
2fcf21c @tbranyen various updates to source, added *hopefuls for 0.0.3* now bundling natur...
tbranyen authored
39 test:
8fcb91f @tbranyen Added vendor back into gitignore, added lots of new unittests, removed i...
tbranyen authored
40 @@$(NODE_JS) $(BASE)/test/index.js test
aa2bbaa @tbranyen Updated unit tests , added jshinting, updated files to pass jshint, twea...
tbranyen authored
41
42 lint:
8fcb91f @tbranyen Added vendor back into gitignore, added lots of new unittests, removed i...
tbranyen authored
43 @@$(NODE_JS) $(BASE)/util/hint-check.js
2fcf21c @tbranyen various updates to source, added *hopefuls for 0.0.3* now bundling natur...
tbranyen authored
44
45 doc:
086151c @tbranyen removed doc files and moved theme into doc
tbranyen authored
46 @@$(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 natur...
tbranyen authored
47
ef0f26b @tbranyen updated makefile and renamed docs folder to doc updated readme
tbranyen authored
48 .PHONY: test build doc
Something went wrong with that request. Please try again.