~ubuntu-branches/ubuntu/raring/node-postgres/raring

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Michael Bienia
  • Date: 2012-10-01 13:44:48 UTC
  • Revision ID: package-import@ubuntu.com-20121001134448-3891x1jchkvbl6b0
Tags: 0.7.1-1ubuntu1
Cope with node -> nodejs renaming.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
params := $(connectionString)
6
6
 
7
 
node-command := xargs -n 1 -I file node file $(params)
 
7
node-command := xargs -n 1 -I file nodejs file $(params)
8
8
 
9
9
.PHONY : test test-connection test-integration bench test-native build/default/binding.node
10
10
test: test-unit 
21
21
        @find test/unit -name "*-tests.js" | $(node-command)
22
22
 
23
23
test-connection:
24
 
        @node script/test-connection.js $(params)
 
24
        @nodejs script/test-connection.js $(params)
25
25
 
26
26
test-connection-binary:
27
 
        @node script/test-connection.js $(params) binary
 
27
        @nodejs script/test-connection.js $(params) binary
28
28
 
29
29
test-native: build/default/binding.node
30
30
        @echo "***Testing native bindings***"