Skip to content

Commit

Permalink
Merge pull request #437 from carlosms/rm-makefile-web
Browse files Browse the repository at this point in the history
Remove web build from main makefile
  • Loading branch information
carlosms authored Dec 27, 2018
2 parents d447a38 + 1b65890 commit 38461f9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ jobs:
os: osx
osx_image: xcode9.4
before_install: skip
- name: 'Web Tests'
stage: tests
script:
- make dependencies
- make -f Makefile.web build
- make -f Makefile.web test
- name: 'Generated code'
script:
- make dependencies
Expand Down
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,3 @@ endif
.PHONY: ci-integration-dependencies
ci-integration-dependencies: prepare-services ci-start-bblfsh

# Redefine targets from main Makefile to support web

-include Makefile.web

# Makefile.main::test -> this::test
test: web-test

# this::build -> Makefile.main::build -> Makefile.main::$(COMMANDS)
# The @echo forces this prerequisites to be run before `Makefile.main::build` ones.
build: web-build web-bindata
@echo
12 changes: 12 additions & 0 deletions Makefile.web
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Redefine targets from main Makefile

-include Makefile

# Makefile.main::test -> this::test
test: web-test

# this::build -> Makefile.main::build -> Makefile.main::$(COMMANDS)
# The @echo forces this prerequisites to be run before `Makefile.main::build` ones.
build: web-build web-bindata
@echo

FRONTEND_PATH := ./frontend
FRONTEND_BUILD_PATH := $(FRONTEND_PATH)/build

Expand Down

0 comments on commit 38461f9

Please sign in to comment.