Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 22aa8ce

Browse files
amcdnljelbourn
authored andcommitted
chore(scripts): update fetch-local to always build #173 (#194)
1 parent c8d2687 commit 22aa8ce

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

tools/fetch-assets-local.sh

+4-10
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,11 @@ elif [ -d ${MATERIAL2_LOCAL} ] ; then
1212
baseSrcPath = ${MATERIAL2_LOCAL}
1313
fi
1414

15-
# Ensure Docs Dist
16-
if [ ! -d ${baseSrcPath}/dist/docs ] ; then
17-
echo "- Missing /dist/docs...Running 'gulp docs'"
18-
( cd ${baseSrcPath} && gulp docs )
19-
fi
15+
# Build Docs
16+
(cd ${baseSrcPath} && gulp docs)
2017

21-
# Ensure Material Examples Pkg
22-
if [ ! -d ${baseSrcPath}/dist/releases/material-examples ] ; then
23-
echo "- Missing material-examples...Running 'gulp material-examples:build-release'"
24-
( cd ${baseSrcPath} && gulp material-examples:build-release)
25-
fi
18+
# Build Examples
19+
(cd ${baseSrcPath} && gulp material-examples:build-release)
2620

2721
# Base Target Path
2822
baseTargetPath=./src/assets

0 commit comments

Comments
 (0)