Skip to content
Snippets Groups Projects
Commit 1a64b3d9 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Add setup script to create symbolic links

parent 6ba4d0aa
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,16 @@
## Local development
```bash
# get the source
git clone git@gitlab.tugraz.at:VPU/WebComponents/Auth.git
cd Auth
git submodule update --init
# we are creating the symbolic links to our git sub-modules
# (there was no proper script to do this automatically before a "node install"
npm run setup
# install dependencies
npm install
# constantly builds dist/bundle.js
......
......@@ -18,9 +18,10 @@
"@webcomponents/webcomponentsjs": "^2.2.10",
"i18next": "^17.0.3",
"lit-element": "^2.1.0",
"vpu-common": "file:./vendor/common"
"vpu-common": "*"
},
"scripts": {
"setup": "cd node_modules; ln -sfn ../vendor/common vpu-common",
"clean": "rm dist/*",
"build": "npm run build-local",
"build-local": "rollup -c",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment