-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use Closure Compiler directly instead of closurebuilder.py. #2605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
106893c to
aa87cd6
Compare
|
Hi, Thanks much for the fixes. Could you please add require statements for these packages i18n.phonenumbers.PhoneNumberType and PhoneNumberFormat in file: phonenumberutil_test.js? We were unable to compile otherwise. I am not sure if this is ramification of fix.
. Also could you please make 'lint' target also work "ant -f javascript/build.xml lint"? |
aa87cd6 to
1063c50
Compare
|
@penmetsaa Yep, I've fixed it! The compilation should succeed now. |
|
As for the lint target not working, I can't repro it at the moment. I don't think I touched anything that would cause it to behave differently. Does it still work when you run the command on |
|
Hi, I have picked the latest updates from your fork, and getting below errors when try compiling demo and tests.
I am not clueless how this package @lint error, |
|
What is
I believe this file is still being excluded, at least in the demo. The |
|
True.. I have not realised that. Thanks much :) |
|
Ok, thanks! :) |
|
Hello @kjin , I'm just having a little question: which version of google closure compiler did you use to build the demo? The version I'm using (v20210601) adds eval() to the generated code which cause CSP errors when testing. |
This changes the libphonenumber
compile-*commands to use Closure Compiler instead ofclosurebuilder.py.closurebuilder.pyis an old wrapper around Closure Compiler, and will be deleted from the Closure Library repository soon. It even emits a warning saying that Closure Compiler should be used directly instead.No functional changes are expected.