Skip to content

Commit b7c10a5

Browse files
Keen Yee Liauayazhafiz
authored andcommitted
build: do not copy test files to syntaxes directory (#477)
Test files should not end up in prod build.
1 parent 153dacb commit b7c10a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ cp client/package.json client/yarn.lock dist/client
1818
# Copy files to server directory
1919
cp server/package.json server/yarn.lock server/README.md dist/server
2020
# Copy files to syntaxes directory
21-
cp -R syntaxes dist/syntaxes
21+
mkdir dist/syntaxes
22+
cp syntaxes/template.ng.json dist/syntaxes
2223

2324
pushd dist
2425
yarn install --production --ignore-scripts

0 commit comments

Comments
 (0)