Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4398 from cloudfoundry/fix-devkit-dist
Browse files Browse the repository at this point in the history
Build devkit outside of dist folder
  • Loading branch information
richard-cox committed Jun 25, 2020
2 parents 9168c68 + b967d56 commit 836c841
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ deploy/ci/travis/temp/
deploy/kubernetes/console/imagelist.txt

.dist/
dist-devkit/
deploy/uaa/tmp/
src/backend/*/vendor/
.v8flags*
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"customWebpackConfig": {
"path": "./dist/devkit/build/main.js"
"path": "./dist-devkit/build/main.js"
},
"indexTransform": "./dist/devkit/build/index.transform.js",
"indexTransform": "./dist-devkit/build/index.transform.js",
"preserveSymlinks": true,
"outputPath": "dist",
"index": "src/frontend/packages/core/src/index.html",
Expand Down Expand Up @@ -99,7 +99,7 @@
"projectType": "library",
"architect": {
"build": {
"builder": "./dist/devkit:stratos-theme",
"builder": "./dist-devkit:stratos-theme",
"options": {
"outputPath": "dist/theme"
}
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/packages/devkit/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Build script for devkit
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROOT="$( cd "$( dirname "${DIR}" )" && cd ../../.. && pwd )"
DIST=$ROOT/dist/devkit
DIST=$ROOT/dist-devkit

echo $DIST
echo $DIR
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/packages/devkit/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"outDir": "../../../../dist/devkit",
"outDir": "../../../../dist-devkit",
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
Expand Down

0 comments on commit 836c841

Please sign in to comment.