Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ardublockly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ardublockly
Commits
00fa7e0b
Commit
00fa7e0b
authored
Nov 15, 2015
by
Immortalin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove google-closure-library support.
parent
125ddf9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
build.py
build.py
+6
-11
No files found.
build.py
View file @
00fa7e0b
...
...
@@ -443,23 +443,18 @@ if __name__ == "__main__":
"Please rename this directory."
)
elif
os
.
path
.
isdir
(
os
.
path
.
join
(
os
.
path
.
pardir
,
"google-closure-library"
)):
# When Closure is installed by npm, it is named "google-closure-library".
calcdeps
=
import_path
(
os
.
path
.
join
(
os
.
path
.
pardir
,
"google-closure-library"
,
"closure"
,
"bin"
,
"calcdeps.py"
))
#
print("Error: Closure directory needs to be renamed from"
#
"'google-closure-library' to 'closure-library'.\n"
#
"Please rename this directory.")
#
calcdeps = import_path(os.path.join(
#
os.path.pardir, "google-closure-library", "closure", "bin", "calcdeps.py"))
print
(
"Error: Closure directory needs to be renamed from"
"'google-closure-library' to 'closure-library'.
\n
"
"Please rename this directory."
)
else
:
print
(
"""Error: Closure not found. Read this:
https://developers.google.com/blockly/hacking/closure"""
)
sys
.
exit
(
1
)
try
:
search_paths
=
calcdeps
.
ExpandDirectories
(
search_paths
=
calcdeps
.
ExpandDirectories
(
[
"core"
,
os
.
path
.
join
(
os
.
path
.
pardir
,
"closure-library"
)])
except
Exception
as
e
:
search_paths
=
calcdeps
.
ExpandDirectories
(
[
"core"
,
os
.
path
.
join
(
os
.
path
.
pardir
,
"google-closure-library"
)])
# Run both tasks in parallel threads.
# Uncompressed is limited by processor speed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment