mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
testing/emscripten: fix issues with Closure Compiler
And relax version bound for emscripten-optimizer.
This commit is contained in:
parent
911d1a0406
commit
c80e424f4e
3 changed files with 45 additions and 3 deletions
17
testing/emscripten/closurecompiler-externs-path.patch
Normal file
17
testing/emscripten/closurecompiler-externs-path.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
From: Jakub Jirutka <jakub@jirutka.cz>
|
||||
Date: Mon, 4 Apr 2017 19:30:00 +0200
|
||||
Subject: [PATCH] Fix path to closurecompiler-externs
|
||||
|
||||
We ship closurecompiler-externs in package node-closurecompiler-externs.
|
||||
|
||||
--- a/tools/shared.py
|
||||
+++ b/tools/shared.py
|
||||
@@ -2130,7 +2130,7 @@
|
||||
raise Exception('closure compiler check failed')
|
||||
|
||||
CLOSURE_EXTERNS = path_from_root('src', 'closure-externs.js')
|
||||
- NODE_EXTERNS_BASE = path_from_root('third_party', 'closure-compiler', 'node-externs')
|
||||
+ NODE_EXTERNS_BASE = '/usr/lib/node_modules/closurecompiler-externs'
|
||||
NODE_EXTERNS = os.listdir(NODE_EXTERNS_BASE)
|
||||
NODE_EXTERNS = [os.path.join(NODE_EXTERNS_BASE, name) for name in NODE_EXTERNS
|
||||
if name.endswith('.js')]
|
Loading…
Add table
Add a link
Reference in a new issue