Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Boeckenhoff
tfields
Commits
1818744f
Commit
1818744f
authored
Jul 06, 2018
by
Daniel Boeckenhoff
Browse files
core lost :/
parent
1b12a9df
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
1818744f
...
...
@@ -3,8 +3,26 @@ init:
find .git/hooks
-type
l
-exec
rm
{}
\;
find .githooks
-type
f
-exec
ln
-sf
../../
{}
.git/hooks/
\;
coverage
:
coverage run tfields
test
coverage report
coverage html
firefox htmlcov/index.html
html
:
echo
"Not implemented"
publish
:
git tag
-a
v<my.version.id>
-m
"<comment to my version>"
# tag version
git push origin v<my.version.id>
# explicitly push tag to the shared server
python setup.py sdist
twine upload dist/
*
@
echo
"NOOOTE"
@
read
root_path
@
echo
"TEST
$$
root_path"
@
while
[
-z
"
$$
VERSION"
]
;
do
\
read
-r
-p
"Please write the version specifier: "
VERSION
;
\
done
;
\
echo
$(VERSION)
echo
"Publishing pacakge version
$(VERSION)
"
# git tag -a v<my.version.id> -m "<comment to my version>" # tag version
# git push origin v<my.version.id> # explicitly push tag to the shared server
# python setup.py sdist
# twine upload dist/*
tfields/__main__.py
View file @
1818744f
...
...
@@ -11,9 +11,9 @@ def run_doctests():
"""
Find all doctests and execute them
"""
parent
=
pathlib
.
Path
(
__file__
).
parent
for
f
in
list
(
parent
.
glob
(
'**/*.py'
)):
doctest
.
testfile
(
str
(
f
.
relative_to
(
pa
rent
)))
# , verbose=True, optionflags=doctest.ELLIPSIS)
this_dir
=
pathlib
.
Path
(
__file__
).
resolve
()
for
f
in
list
(
this_dir
.
glob
(
'**/*.py'
)):
doctest
.
testfile
(
str
(
f
.
relative_to
(
pa
thlib
.
Path
.
cwd
().
resolve
()
)))
# , verbose=True, optionflags=doctest.ELLIPSIS)
def
load_unittests
(
loader
=
None
,
suite
=
None
):
...
...
tfields/core.py
0 → 100644
View file @
1818744f
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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