From a036599e6fdd3af3acb396630df465cae8d52211 Mon Sep 17 00:00:00 2001 From: HOG Date: Thu, 19 Dec 2019 17:47:04 +0200 Subject: [PATCH] 195 - Edited storybook task. --- scripts/makefile/front.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/makefile/front.mk b/scripts/makefile/front.mk index 5ee38d429..53232b24a 100644 --- a/scripts/makefile/front.mk +++ b/scripts/makefile/front.mk @@ -35,6 +35,7 @@ front-build: $(call frontexec, node -v); \ $(call frontexec, yarn -v); \ $(call frontexec, yarn build --verbose); \ + $(call frontexec, yarn build-storybook -c .storybook -o dist/storybook --verbose) else \ echo "- Theme directory defined in .env file was not found. Skipping front-build."; \ fi @@ -49,9 +50,3 @@ lint: docker pull $(IMAGE_FRONT) $(call frontexec, yarn install --ignore-optional --check-files --prod) $(call frontexec, yarn lint-fix) - -storybook: - @echo "Running storybook..." - docker pull $(IMAGE_FRONT) - $(call frontexec, yarn install --ignore-optional --check-files) - $(call frontexec, yarn build-storybook --verbose)