Skip to content

Commit

Permalink
dont need forever module
Browse files Browse the repository at this point in the history
  • Loading branch information
lancejpollard committed Oct 5, 2012
1 parent 02c6d40 commit 5a61e36
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Makefile
Expand Up @@ -45,14 +45,6 @@ ifeq ($(shell which $(RUN)node_modules$(PATH_SEP)grunt$(PATH_SEP)bin$(PATH_SEP)g
endif endif
endif endif


check-forever:
ifeq ($(shell which $(FOREVER)),)
$(eval FOREVER = $(shell pwd)$(PATH_SEP)node_modules$(PATH_SEP)forever/bin$(PATH_SEP)forever)
ifeq ($(shell which node_modules$(PATH_SEP)forever$(PATH_SEP)bin$(PATH_SEP)forever),)
npm install forever
endif
endif

# ps -ef | awk '/node server -p 3210/{print $2}' | wc -l | awk '{print $1}' # ps -ef | awk '/node server -p 3210/{print $2}' | wc -l | awk '{print $1}'
# check-server: check-forever # check-server: check-forever


Expand Down Expand Up @@ -169,4 +161,4 @@ define get-processes
$(shell ps -ef | grep -e '$(1)' | grep -v grep) $(shell ps -ef | grep -e '$(1)' | grep -v grep)
endef endef


.PHONY: all test-memory test-mongodb test test-all test-client build dist check-phantomjs check-grunt check-forever build-test-client start-test-client post-install .PHONY: all test-memory test-mongodb test test-all test-client build dist check-phantomjs check-grunt build-test-client start-test-client post-install

0 comments on commit 5a61e36

Please sign in to comment.