Commit 66cae46
Updates to BuildConfigGen (#18069)
* Node16 switch wip
* wip
* poc update to buildConfigMapping
* wip
* wip
* _ instead of dash -
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Include task switching CodeGen to make.js
- Add dev.sh and dev.cmd to build CodeGen via cmd (need to add downloading dotnet)
- Add logic to change version in task.loc.json as well as in task.json
- Add logic to add node16 handler to the generated task to run it under node16 handler and not node10
- Add check that task has node handler
- Add check that task doesn't have node16 handler
- Fixed problem with slash for unix compatibility
* Include task switching CodeGen to make.js
- Add gentask argument to call code generator for specific/all tasks and compile code generator is it's not compiled
- Add logic to make.js build to build task from _generated folder firstly, and from Tasks folder if it's not found in _generated
- Add logic to make.js test to test _generated tasks as well as usual Tasks
- Resolved problem with Common folder in _generated folder
* clean up
* cleanup
* Make Build Configs extensible
Refactor / clean up
* added --write-updates parameter. Default is verify-only
* improve json formatting, error handling
* Include task switching CodeGen to make.js
- Add downloading dotnet sdk to dev.sh for CodeGen
- Add pass-through arguments to BuildGen
AzureIoTEdgeV2
* make dev.sh compatible with unix-like systems
* added system to "override" files per-buildconfig
* suppress up-to-date check for _buildConfigs presence in tasks directory
* Include task switching CodeGen to make.js
- Clean up some of the code in make.js
- replace --write-updates with --validate option in make.js
* Include task switching CodeGen to make.js
- Add rebuild argument for gentask
- Fix problem when directory not exists
- Fix problem with generating task first time
* fix: re-add missing mappings
* Clean ups
* added preprocessor
* update so mapping matches mapping name on server
* fix unexpected invalidation
* fix issues where verification might fail when preprocessor is used
prevent preprocessor from being used in _buildConfig overrides (not necessary to use both)
fix directories been created when --write-updates not specified
* disable generating _buildConfig/[config] as the precompile should take care of it
* refactored verifier to write changes to temp files to compare. This change shouldn't change the output, but makes the verifiction logic more consistent and maintaintable
* merged Node16 tasks
* write major/minor version (in addition to patch) to task.loc.json
verification fix when using file overrides
* Add Node16 configurations for tasks
* add DockerComposeV0 node upgrade
* Update launch settings with DockerComposeV0
* Bump node16 versions
* Correctly update AndroidSigningV2
* Correct DockerComposeV0
* fixup DownloadPackageV1
* Run config generation
* Include task switching CodeGen to make.js
- add --config attribute to make.js
- add possibility to build only _generated version of the task without main task
* Include task switching CodeGen to make.js
- rename parameter from config to configs
* Include task switching CodeGen to make.js
- Task compilation fix for generated tasks
* Include task switching CodeGen to make.js
- Generated task update to be able to compile them and pass BuildConfigGenerator validation
* move node16 changes to users/merlynop/node16updates
* Remove non-BuildconfigGen changes
---------
Co-authored-by: Dmitrii Bobreshev (Akvelon INC) <[email protected]>
Co-authored-by: Your Name <[email protected]>1 parent 03a4b3b commit 66cae46
File tree
4 files changed
+151
-98
lines changed- BuildConfigGen
- Properties
4 files changed
+151
-98
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
226 | 233 | | |
227 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
228 | 240 | | |
229 | 241 | | |
230 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
108 | 109 | | |
109 | | - | |
| 110 | + | |
110 | 111 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
126 | 117 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
133 | 122 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 123 | + | |
139 | 124 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
146 | 135 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
151 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
152 | 160 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
158 | 171 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
| |||
0 commit comments