mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
Fixed the buildscript so it doesn't include the parent directory name in accessible. (#1252)
This commit is contained in:
2
build.py
2
build.py
@@ -152,7 +152,7 @@ window.BLOCKLY_BOOT = function() {
|
||||
# used on another, even if the directory name differs.
|
||||
m = re.search('[\\/]([^\\/]+)[\\/]core[\\/]blockly.js', add_dependency)
|
||||
add_dependency = re.sub('([\\/])' + re.escape(m.group(1)) +
|
||||
'([\\/]core[\\/])', '\\1" + dir + "\\2', add_dependency)
|
||||
'([\\/](core|accessible)[\\/])', '\\1" + dir + "\\2', add_dependency)
|
||||
f.write(add_dependency + '\n')
|
||||
|
||||
provides = []
|
||||
|
||||
Reference in New Issue
Block a user