| Server IP : 68.183.124.220 / Your IP : 216.73.217.137 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/gavin/workspace/happymandarin/node_modules/plist/ |
Upload File : |
# get Makefile directory name: http://stackoverflow.com/a/5982798/376773 THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd) # BIN directory BIN := $(THIS_DIR)/node_modules/.bin # applications NODE ?= node NPM ?= $(NODE) $(shell which npm) BROWSERIFY ?= $(NODE) $(BIN)/browserify MOCHA ?= $(NODE) $(BIN)/mocha ZUUL ?= $(NODE) $(BIN)/zuul REPORTER ?= spec all: dist/plist.js dist/plist-build.js dist/plist-parse.js install: node_modules clean: @rm -rf node_modules dist dist: @mkdir -p $@ dist/plist-build.js: node_modules lib/build.js dist @$(BROWSERIFY) \ --standalone plist \ lib/build.js > $@ dist/plist-parse.js: node_modules lib/parse.js dist @$(BROWSERIFY) \ --standalone plist \ lib/parse.js > $@ dist/plist.js: node_modules lib/*.js dist @$(BROWSERIFY) \ --standalone plist \ --ignore lib/node.js \ lib/plist.js > $@ node_modules: package.json @NODE_ENV= $(NPM) install @touch node_modules test: @if [ "x$(BROWSER_NAME)" = "x" ]; then \ $(MAKE) test-node; \ else \ $(MAKE) test-zuul; \ fi test-node: @$(MOCHA) \ --reporter $(REPORTER) \ test/*.js test-zuul: @if [ "x$(BROWSER_PLATFORM)" = "x" ]; then \ $(ZUUL) \ --ui mocha-bdd \ --browser-name $(BROWSER_NAME) \ --browser-version $(BROWSER_VERSION) \ test/*.js; \ else \ $(ZUUL) \ --ui mocha-bdd \ --browser-name $(BROWSER_NAME) \ --browser-version $(BROWSER_VERSION) \ --browser-platform "$(BROWSER_PLATFORM)" \ test/*.js; \ fi .PHONY: all install clean test test-node test-zuul