#!/bin/bash if [ ! -d "tmp/p4api" ]; then if [ ! -d "tmp" ]; then mkdir tmp fi if [ ! -f "tmp/p4api.tgz" ]; then if [ `uname`="Darwin" ]; then cd tmp && p4 print -o p4api.tgz //builds/r13.1/p4-bin/bin.darwin90x86_64/p4api.tgz && cd .. else echo "Please update the script to download the right p4api" fi fi if [ ! -d tmp/p4api ]; then cd tmp && tar xzf p4api.tgz && cd .. echo "Please rename the directory in tmp (like p4api-X.X.X) to tmp/p4api" exit 1 fi fi echo rm -fr build && node-gyp configure && node-gyp build && node test/test.js
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 16451 | Liz Lam | "Forking branch Main of matt-attaway-p4nodeapi to liz_lam-p4nodeapi." | ||
//guest/matt_attaway/p4nodeapi/rebuild | |||||
#1 | 8517 | Matt Attaway |
Add a node.js language binding for Perforce This is fairly simple extension for node to make it easier to run Perforce commands from your node.js application. We've used this a fair amount internally, but it hasn't seen the same level of love as the other Perforce APIs. This API is not supported by Perforce support, but you are welcome to post on the forums if you have questions. |