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
02d5f6e4e9
Deprecated advanced compilation script and add deprecation warning ( #4021 )
2020-07-06 14:09:45 -07:00
Sam El-Husseini
9e7f3b07e9
Advanced compilation fixes ( #3995 )
...
* Advanced compilation fixes
2020-06-25 11:59:03 -07:00
alschmiedt
7e34d94610
Fixes blockly games blocks being black ( #3579 )
...
* Fixes blockly games blocks being black
2020-01-13 13:34:29 -08:00
Neil Fraser
cd1d18b7a0
STRICT is no longer supported by Closure Compiler
...
Apparently 'PRUNE' is the new option, but it's undocumented. More info:
https://github.com/google/blockly-games/issues/176
2020-01-06 11:04:24 -08:00
Neil Fraser
4d25193ead
Add extern for goog. ( #3417 )
...
As of closure-compiler-v20191027.jar the compile now breaks due to a lack of ‘goog’ being defined.
../../temp_core/constants.js:24: ERROR - [JSC_UNDEFINED_VARIABLE] variable goog is undeclared
goog.provide('Blockly.constants');
^^^^
1 error(s), 0 warning(s)
Compiler exit code: 1
Compilation FAIL.
Upgrade closure compiler to v20191027
2019-11-09 08:10:30 -08:00
Sam El-Husseini
6d8f22f39a
Add a lint plugin to ensure we only use ES5 syntax. ( #3160 )
...
* Add a lint plugin to ensure we only use ES5 only syntax.
2019-10-21 21:26:26 -04:00
Neil Fraser
3556f69233
Messages are no longer compiled in.
2019-10-20 08:26:35 -07:00
Neil Fraser
d6cb6b9832
Remove last @export tag ( #3010 )
...
* Remove last @export tag
2019-09-12 17:01:51 -07:00
Sam El-Husseini
8ab51c8639
Remove closure base file dependency ( #2976 )
...
* Trim down closure's base dependency even further by removing the dependency on closure's base file.
2019-09-11 17:30:51 -07:00
alschmiedt
493470807d
Remove check for renderer name from build and compile scripts ( #2842 )
2019-08-16 11:03:40 -07:00
alschmiedt
579363e67a
Fix compile ( #2759 )
...
* Adds ability to have multiple folders in core
2019-08-01 09:01:49 -07:00
Sam El-Husseini
8d72f713a5
Fix the local npm compiler build script ( #2698 )
...
The google closure compiler has moved the java compiler into it's own package under google-closure-compiler-java. Updating paths to reflect that.
2019-07-24 11:08:54 -07:00
Neil Fraser
459961c3cb
Replace Element constants with Node constants.
...
Element constants apparently don’t exist in IE or Edge. Node constants apparently do.
2019-05-29 10:45:54 -07:00
Neil Fraser
5cf52c566a
Fix a dozen compiler warnings.
2019-05-17 16:48:40 -07:00
Andrew n marshall
a3dfd0553d
tests/compile/compile.sh improvements ( #1874 )
...
tests/compile/compile.sh improvements
* Allow running from either Blockly root or local dir.
* Allow the use of npm google-closure-library.
* Log compiler/library versions
* Log full *compiler*.jar filename. Limit to one match.
* Add npm instructions for both compiler and library.
* Minor stylistic polish.
2018-05-17 12:10:35 -07:00
Andrew n marshall
f2b6c9a948
Work in progress (Needed a Travis run) ( #1869 )
...
Fix advanced compilation on Travis
2018-05-16 14:16:02 -07:00
Rachel Fenichel
42cb962cef
Apply review feedback.
2018-04-11 15:26:05 -07:00
Neil Fraser
82705923cb
Convert compile demo into a unit test. ( #1360 )
...
* Intentionally break Travis.
* Alphabetize tests, remove orphaned test, and add fail to test that's running.
* Unbreak test, disable OS X, move scripts, list compiler directory.
* Test Java, break test.
* Unbreak test, call compile script.
* Compile main_compressed.js
* Run test command using bash.
* Fix path.
* Exclude node modules.
* Be more specific about JS files to compile.
* Test failure.
* Restore OSX, undo Blockly failure, remove compilation demo, add compilation test.
* Delete manual test files.
* Ignore downloaded/generated files.
* Whitespace cleanup.
2017-10-12 14:54:57 -07:00