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
0a4f93f2
Commit
0a4f93f2
authored
Jul 11, 2013
by
Paweł Szostek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msg.py: remove useless file
parent
68ce10b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
77 deletions
+0
-77
msg.py
src/msg.py
+0
-77
No files found.
src/msg.py
deleted
100644 → 0
View file @
68ce10b0
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013 CERN
# Author: Pawel Szostek (pawel.szostek@cern.ch)
#
# This file is part of Hdlmake.
#
# Hdlmake is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Hdlmake is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Hdlmake. If not, see <http://www.gnu.org/licenses/>.
#
import
global_mod
try
:
from
build_hash
import
BUILD_ID
except
:
BUILD_ID
=
"unrecognized"
import
time
import
pprint
as
prettyprinter
t0
=
time
.
time
()
def
printhr
():
rawprint
(
"------------------"
)
def
rawprint
(
msg
=
""
):
print
(
msg
)
def
warning
(
msg
):
rawprint
(
"WARNING: "
+
msg
)
def
info
(
msg
):
rawprint
(
"INFO: "
+
msg
)
def
error
(
msg
):
rawprint
(
"ERROR: "
+
msg
)
def
echo
(
msg
):
rawprint
(
msg
)
def
vprint
(
msg
):
if
global_mod
.
options
.
verbose
is
True
:
echo
(
msg
)
def
pprint
(
msg
):
pp
=
prettyprinter
.
PrettyPrinter
(
indent
=
2
)
pp
.
pprint
(
msg
)
def
vpprint
(
msg
):
if
global_mod
.
options
.
verbose
is
True
:
pp
=
prettyprinter
.
PrettyPrinter
(
indent
=
2
)
pp
.
pprint
(
msg
)
def
print_version
():
rawprint
(
"Hdlmake build "
+
BUILD_ID
)
def
print_action_help
():
rawprint
(
"`Action' variable was not specified"
)
rawprint
(
"Allowed values are:
\"
simulation
\"
or
\"
synthesis
\"
"
)
rawprint
()
rawprint
(
"This variable in a manifest file is necessary for Hdlmake "
\
"to be able to know what to do with the given modules' structure."
)
basic
()
def
basic
():
rawprint
(
"For more help type `hdlmake --help' "
\
"or visit http://www.ohwr.org/projects/hdl-make"
)
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