Skip to content

Commit

Permalink
feat(examples): ensure examples build successfully on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte authored and Raphaël Benitte committed Dec 7, 2017
1 parent 2c84d01 commit 2ad46b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ script:
- make packages-test
- make website-build
- make storybook-build
- make examples-build
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,10 @@ example-install-%: ##@examples install example dependencies, eg. example-install
example-start-%: ##@examples start example in dev mode, eg. example-start-retro
@echo "${YELLOW}Starting ${WHITE}${*}${YELLOW} example dev server${RESET}"
@cd examples/${*} && yarn start

examples-build: ##@examples build all examples
@make example-build-retro

example-build-%: ##@examples build an example, eg. example-build-retro
@echo "${YELLOW}Building ${WHITE}${*}${YELLOW} example${RESET}"
@cd examples/${*} && yarn build

0 comments on commit 2ad46b7

Please sign in to comment.