This repository was archived by the owner on Oct 18, 2024. It is now read-only.
File tree 2 files changed +7
-27
lines changed
2 files changed +7
-27
lines changed Original file line number Diff line number Diff line change 65
65
run : $ATS_SUDO $ATS_APT_UPDATE && $ATS_SUDO $ATS_APT_UPGRADE && $ATS_SUDO $ATS_APT_INSTALL $ATS_APT_DEPS
66
66
- name : Install Node packages
67
67
run : |
68
- for pck in $(find grammars -maxdepth 2 -name "package.json"); do
69
- cd $(dirname $pck)
70
- npm install
71
- cd -
72
- done
68
+ cd grammars/cpp && npm install && cd -
73
69
- name : Restore cache
74
70
uses : actions/cache@v4
75
71
with :
@@ -119,11 +115,7 @@ jobs:
119
115
run : $ATS_SUDO $ATS_APT_UPDATE && $ATS_SUDO $ATS_APT_UPGRADE && $ATS_SUDO $ATS_APT_INSTALL $ATS_APT_DEPS
120
116
- name : Install Node packages
121
117
run : |
122
- for pck in $(find grammars -maxdepth 2 -name "package.json"); do
123
- cd $(dirname $pck)
124
- npm install
125
- cd -
126
- done
118
+ cd grammars/cpp && npm install && cd -
127
119
- name : Restore cache
128
120
uses : actions/cache@v4
129
121
with :
@@ -171,11 +163,7 @@ jobs:
171
163
run : $ATS_SUDO $ATS_APT_UPDATE && $ATS_SUDO $ATS_APT_UPGRADE && $ATS_SUDO $ATS_APT_INSTALL $ATS_APT_DEPS
172
164
- name : Install Node packages
173
165
run : |
174
- for pck in $(find grammars -maxdepth 2 -name "package.json"); do
175
- cd $(dirname $pck)
176
- npm install
177
- cd -
178
- done
166
+ cd grammars/cpp && npm install && cd -
179
167
- name : Restore cache
180
168
uses : actions/cache@v4
181
169
with :
@@ -233,11 +221,7 @@ jobs:
233
221
run : $ATS_SUDO $ATS_APT_UPDATE && $ATS_SUDO $ATS_APT_UPGRADE && $ATS_SUDO $ATS_APT_INSTALL $ATS_APT_DEPS
234
222
- name : Install Node packages
235
223
run : |
236
- for pck in $(find grammars -maxdepth 2 -name "package.json"); do
237
- cd $(dirname $pck)
238
- npm install
239
- cd -
240
- done
224
+ cd grammars/cpp && npm install && cd -
241
225
- name : Restore cache
242
226
uses : actions/cache@v4
243
227
with :
Original file line number Diff line number Diff line change @@ -75,16 +75,12 @@ git clone --recurse-submodules https://github.com/AndroidIDEOfficial/android-tre
75
75
76
76
### Install grammar dependencies
77
77
78
- You might need to install the Node packages required by the grammars. To do so, you may do
79
- something like the following :
78
+ You might need to install the Node packages required by the grammars. For example, the ` cpp ` grammar
79
+ requires you to install the packages :
80
80
81
81
``` bash
82
82
# from the root directory of this project
83
- for pck in $( find grammars -maxdepth 2 -name " package.json" -type f) ; do
84
- cd $( dirname $pck )
85
- npm install
86
- cd -
87
- done
83
+ cd grammars/cpp && npm install && cd -
88
84
```
89
85
90
86
### Build
You can’t perform that action at this time.
0 commit comments