Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Following runs the commands needed to link the framework and webapp
- #Add to your ~/.bash_profile
- function link_webapp {
- web_app_framework_dir="$HOME/path/to/web-app-framework/";
- webapp_dir="$HOME/path/to/webapp/";
- (cd "$web_app_framework_dir" && \
- npm run packagr && cd "./dist" && npm pack && \
- cd "$webapp_dir" && npm uninstall web-app-framework \
- && npm install ../web-app-framework/dist/web-app-framework-0.0.0.tgz \
- && npm install);
- }
Add Comment
Please, Sign In to add comment