Skip to content

Commit

Permalink
portal: drop unnecessary build steps
Browse files Browse the repository at this point in the history
We'll skip adding the node_modules dir to $PATH. At the same time,
we'll no longer install ng-swagger-gen explicitly, expecting it
to be retrieved as part of the build process.
  • Loading branch information
petrutlucian94 committed Jul 17, 2024
1 parent f74434e commit 01cb255
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions v2.10.2/portal/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ parts:
export NPM_CONFIG_REGISTRY=https://registry.npmjs.org
export PATH="$PATH:$CRAFT_PART_BUILD/src/portal/node_modules/.bin"
npm install ng-swagger-gen
npm install --unsafe-perm
npm run generate-build-timestamp
node --max_old_space_size=2048 \
Expand Down

0 comments on commit 01cb255

Please sign in to comment.