-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.yml
51 lines (45 loc) · 1.05 KB
/
.gitpod.yml
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
42
43
44
45
46
47
48
49
50
51
tasks:
- name: Install
init: >
npm install -g @angular/cli &&
npm install -g @ionic/cli &&
ionic start mobdev_ca3 blank --type=angular &&
gp sync-done bundle
command: cd mobdev_ca3
- name: IonicProject
init: |
gp sync-await bundle &&
cd mobdev_ca3 &&
gp sync-done startIonic
command: ionic serve
- name: capacitor
init: >
gp sync-await startIonic &&
cd mobdev_ca3 &&
npm i @capacitor/core &&
npm i -D @capacitor/cli &&
gp sync-done capa
command: npm i @capacitor/android
- name: building
init: >
gp sync-await capa &&
cd mobdev_ca3 &&
npm run build &&
gp sync-done build
command: npx cap sync
- name: initapp
init: |
gp sync-await build &&
cd mobdev_ca3 &&
npx cap init
gp sync-done appinit
command: npx cap add android
- name: Sync
init: >
gp sync-await appinit &&
cd mobdev_ca3 &&
npm run build
command: npx cap run android
ports:
- port: 4200
onOpen: open-browser