forked from fabric8io/fabric8-console
-
Notifications
You must be signed in to change notification settings - Fork 1
/
link-all.sh
executable file
·41 lines (34 loc) · 1.78 KB
/
link-all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env bash
echo "Linking the hawtio-kubernetes.js to the local build"
rm libs/hawtio-kubernetes/dist/hawtio-kubernetes.js libs/hawtio-kubernetes/dist/hawtio-kubernetes.css
ln -s `pwd`/../hawtio-kubernetes/dist/hawtio-kubernetes.js libs/hawtio-kubernetes/dist/hawtio-kubernetes.js
ln -s `pwd`/../hawtio-kubernetes/dist/hawtio-kubernetes.css libs/hawtio-kubernetes/dist/hawtio-kubernetes.css
echo "Now the libs/hawtio-kubernetes/dist folder is:"
ls -l libs/hawtio-kubernetes/dist
# hawtio-kubernetes-api
ln -fs `pwd`/../hawtio-kubernetes-api/dist/hawtio-kubernetes-api.js libs/hawtio-kubernetes-api/dist/hawtio-kubernetes-api.js
echo "hawtio-kubernetes-api linked too..."
ls -la libs/hawtio-kubernetes-api/dist
# hawtio-forms
ln -fs `pwd`/../hawtio-forms/dist/hawtio-forms.js libs/hawtio-forms/dist/hawtio-forms.js
ln -fs `pwd`/../hawtio-forms/dist/hawtio-forms.css libs/hawtio-forms/dist/hawtio-forms.css
echo "hawtio-forms linked too..."
ls -la libs/hawtio-forms/dist
# hawtio-dashboard
ln -fs `pwd`/../hawtio-dashboard/dist/hawtio-dashboard.js libs/hawtio-dashboard/dist/hawtio-dashboard.js
ln -fs `pwd`/../hawtio-dashboard/dist/hawtio-dashboard.css libs/hawtio-dashboard/dist/hawtio-dashboard.css
echo "hawtio-dashboard linked too..."
ls -la libs/hawtio-dashboard/dist
# hawtio-ui
ln -fs `pwd`/../hawtio-ui/dist/hawtio-ui.js libs/hawtio-ui/dist/hawtio-ui.js
ln -fs `pwd`/../hawtio-ui/dist/hawtio-ui.css libs/hawtio-ui/dist/hawtio-ui.css
echo "hawtio-ui linked too..."
ls -la libs/hawtio-ui/dist
# hawtio-core
ln -fs `pwd`/../hawtio-core/hawtio-core.js libs/hawtio-core/hawtio-core.js
echo "hawtio-core linked too..."
ls -la libs/hawtio-core
# hawtio-oauth
ln -fs `pwd`/../hawtio-oauth/dist/hawtio-oauth.js libs/hawtio-oauth/dist/hawtio-oauth.js
echo "hawtio-oauth linked too..."
ls -la libs/hawtio-oauth/dist