Skip to content

Commit

Permalink
Makefile cleanup
Browse files Browse the repository at this point in the history
- Remove unused clean task
+ Add ci task
+ Add build and test tasks to .PHONY

Part of #3
  • Loading branch information
mtscout6 committed Nov 18, 2014
1 parent e4bb823 commit 517c7ee
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@ NAME := selenium
VERSION := $(or $(VERSION),$(VERSION),'2.44.0')
PLATFORM := $(shell uname -s)

ifeq ($(PLATFORM), Darwin)
COPYARGS := -pR
else
COPYARGS := -rT
endif
all: hub chrome firefox

all: hub chrome firefox test
build: all

build: all clean
ci: build test

base:
cd ./Base && docker build -t $(NAME)/base:$(VERSION) .
Expand Down Expand Up @@ -47,9 +43,7 @@ release: tag_latest
docker push $(NAME)/node-firefox
@echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)"

clean:

test:
./test.sh

.PHONY: all base hub nodebase chrome firefox full tag_latest release clean
.PHONY: all base hub nodebase chrome firefox full tag_latest release build test

0 comments on commit 517c7ee

Please sign in to comment.