kozbial
2a62c06a92
Update script to use python3 command
2021-08-10 16:43:08 -07:00
Neil Fraser
52d280e615
Recompile of JSON to JS messages.
...
Delete unused Klingon message.
Remove '.' from message that confusingly appears after a filename.
2021-08-05 10:39:22 -07:00
Christopher Allen
c42c5e72b4
Remove obsolete TODO
...
No more `execSync('mkdir -p')` so no more need to check if it works on
Windows.
2021-07-13 16:11:54 +01:00
Christopher Allen
85b50fcb73
Use fs.mkdirSync instead of execSync('mkdir -p ...')
...
Also consistently use {recursive: true} in case directory is nested
in an also-not-yet-existent directory.
2021-07-13 16:11:54 +01:00
Christopher Allen
1e4fa8005a
Fix comment TODO formatting.
2021-07-08 17:29:26 +01:00
Christopher Allen
e6929decde
Also check in sourcemaps
...
The .js.map files generated by buildCompressed, buildBlocks etc. were
not being copied back by checkinBuilt.
2021-07-07 15:36:39 +01:00
Christopher Allen
e8eb30fa8b
Script to clean release directory
...
You can now do npm run clean:buildDir, ... clean:releaseDir, or just
... clean, which does both.
The release directory is automatically cleaned before packaging
commences.
2021-06-23 13:07:20 +01:00
Christopher Allen
961319b3eb
Script to clean build directory
2021-06-22 18:10:02 +01:00
Christopher Allen
e2c4a9b7f9
Script to copy built files from BUILD_DIR to repository
...
This is to allow built files to be checked in.
2021-06-22 18:08:23 +01:00
Christopher Allen
25f073d0e3
Build msg/js/*.js langfiles in BUILD_DIR
2021-06-22 12:04:30 +01:00
Christopher Allen
a03cd29b68
Separate script to rebuild msg/json/en.json, qqq.json etc.
...
There are some files in msg/json/ (currently en.json, qqq.json,
constants.json and synonyms.json) that are generated by
scripts/i18n/js_to_json.py as part of the language file build process
- but this only needs to be done when messages.js is updated and
and usually requires some manual cleanup, so remove this step from the
existing buildLangfiles gulp script and create a separate command
('npm run generate:langfiles') to do this when required.
2021-06-22 10:59:24 +01:00
Christopher Allen
082fd1fc6f
Move build and package directory config into new config.js
...
Make the destination directories for certain build/package/release
steps more easily (and centrally) configurable.
This only deals with building *_compressed* files;
blockly_uncompressed.js and the various msg/js/*.js files are not
affected by this commit.
2021-06-22 10:55:38 +01:00
Neil Fraser
76b5517008
Use null-prototype objects for maps
...
A {} has a bunch of names already defined on it (like ‘toString’). When using an object as a map with arbitrary keys, it should not inherit from Object.prototype.
2021-06-09 11:41:42 -07:00
Neil Fraser
d919b0af21
Update JSDoc from Array.<> to Array<>
...
Same with Object.
2021-05-27 21:30:26 -07:00
Rachel Fenichel
9c77e9b944
Don't explicitly set the default
2021-04-13 13:55:22 -07:00
Rachel Fenichel
5416f1df75
Change compile scripts to use STABLE for language_in
2021-04-08 14:14:17 -07:00
alschmiedt
9a93ca486f
Fix advanced compilation tests for Q1 2021 release ( #4709 )
2021-03-17 15:46:17 -07:00
Sam El-Husseini
63d26dc186
Add extra requires check ( #4677 )
...
* Add extra requires check
2021-03-05 09:50:51 -08:00
Sam El-Husseini
60e96c4d93
Temporarily disable strict require compiler errors ( #4581 )
...
* Disable strict require check in closure compiler
2021-01-11 14:07:29 -08:00
alschmiedt
1208987dbb
Update release scripts ( #4558 )
2021-01-08 11:52:02 -08:00
Sam El-Husseini
6790d7f81c
Fix windows path separator in uncompressed build ( #4487 )
...
* Fix windows path separator in uncompressed build
2020-12-01 14:07:29 -08:00
Rachel Fenichel
3a138936c3
Update closure
2020-11-17 10:34:34 -08:00
Sam El-Husseini
6181dd37c7
Add build strict option that builds with the strict type checker ( #4098 )
...
* Add build strict option that builds with the strict type checker
2020-09-08 17:08:39 -07:00
Monica Kozbial
408319823e
Remove references to removed test_blocks.js ( #4173 )
...
* Remove test blocks reference from compile tests.
* Remove test blocks reference from compile script
2020-08-18 16:33:57 -07:00
Sam El-Husseini
ab2031c353
Upgrade closure compiler to latest
2020-08-10 11:57:56 -07:00
Sam El-Husseini
55e6f8000e
Move i18n scripts under scripts/ ( #4044 )
...
* Move i18n scripts under scripts/
2020-07-14 12:07:56 -07:00
Sam El-Husseini
f3136e61a1
Advanced compilation gulp script to replace the shell script. ( #3996 )
2020-07-01 10:55:17 -07:00
Sam El-Husseini
1052f7548b
Enable unusedPrivateMembers check ( #3924 )
...
* Add unusedPrivateMembers check
2020-05-28 17:44:16 -07:00
Sam El-Husseini
cb86ad766e
Fix gulp build on Windows ( #3894 )
...
* Fix gulp build compressed on Windows
Need to escape the separate for the regex.
* nit: formatt
2020-05-08 10:05:07 -07:00
Sam El-Husseini
43c2a0e85c
Add sourcemaps ( #3872 )
...
* Update build scripts to produce source maps
2020-05-01 10:10:23 -07:00
Sam El-Husseini
a6e3f78425
Cleanup build ( #3756 )
2020-03-18 12:08:24 -07:00
Rachel Fenichel
e78a87a1e5
Break gulpfile into multiple subfiles
2020-02-14 13:42:38 -08:00