-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(examples):fix retro example dependencies
- Loading branch information
Raphaël Benitte
authored and
Raphaël Benitte
committed
Dec 7, 2017
1 parent
2da761d
commit 2c84d01
Showing
10 changed files
with
36 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
SOURCES = packages | ||
|
||
.PHONY: help bootstrap init packages-build packages-publish clean-all website-install website website-build website-deploy storybook storybook-build storybook-deploy deploy-all | ||
.PHONY: help bootstrap init packages-build packages-publish clean-all website-install website website-build website-deploy storybook storybook-build storybook-deploy deploy-all examples-install | ||
|
||
######################################################################################################################## | ||
# | ||
|
@@ -50,6 +50,7 @@ init: ##@init cleanup/install/bootstrap | |
@make bootstrap | ||
@make packages-build | ||
@make website-install | ||
@make examples-install | ||
|
||
######################################################################################################################## | ||
# | ||
|
@@ -137,7 +138,7 @@ package-dev-%: ##@packages setup package for development, link to website, run w | |
######################################################################################################################## | ||
|
||
website-install: ##@website install website dependencies | ||
@echo "${YELLOW}INstalling website dependencies${RESET}" | ||
@echo "${YELLOW}Installing website dependencies${RESET}" | ||
@cd website && yarn install | ||
|
||
website: ##@website start website in dev mode | ||
|
@@ -190,3 +191,20 @@ storybook-deploy: ##@storybook build and deploy storybook | |
|
||
@echo "${YELLOW}Deploying storybook${RESET}" | ||
@./node_modules/.bin/gh-pages -d storybook-static -r [email protected]:plouc/nivo.git -b gh-pages -e storybook | ||
|
||
######################################################################################################################## | ||
# | ||
# EXAMPLES | ||
# | ||
######################################################################################################################## | ||
|
||
examples-install: ##@examples install all examples dependencies | ||
@make example-install-retro | ||
|
||
example-install-%: ##@examples install example dependencies, eg. example-install-retro | ||
@echo "${YELLOW}Installing ${WHITE}${*}${YELLOW} example dependencies${RESET}" | ||
@cd examples/${*} && yarn 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters