Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
72efab29
Commit
72efab29
authored
Oct 21, 2013
by
Paweł Szostek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
__main__.py: move check-env
parent
44820839
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
__main__.py
hdlmake/__main__.py
+6
-5
No files found.
hdlmake/__main__.py
View file @
72efab29
...
...
@@ -106,6 +106,12 @@ def main():
options
=
parser
.
parse_args
(
sys
.
argv
[
1
:])
global_mod
.
options
=
options
env
=
Env
(
options
)
global_mod
.
env
=
env
if
options
.
command
==
"check-env"
:
env
.
check_env
(
verbose
=
True
)
quit
()
numeric_level
=
getattr
(
logging
,
options
.
log
.
upper
(),
None
)
if
not
isinstance
(
numeric_level
,
int
):
sys
.
exit
(
'Invalid log level:
%
s'
%
options
.
log
)
...
...
@@ -137,11 +143,6 @@ def main():
# print("Hdlmake build " + BUILD_ID)
# quit()
env
=
Env
(
options
)
global_mod
.
env
=
env
if
options
.
command
==
"check-env"
:
env
.
check_env
(
verbose
=
True
)
quit
()
if
options
.
command
==
"check-manifest"
:
env
.
check_manifest
(
modules_pool
.
get_top_module
()
.
manifest
,
verbose
=
True
)
...
...
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