Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pulsar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NDIP
Pulsar
Commits
a326e29f
Commit
a326e29f
authored
10 years ago
by
John Chilton
Browse files
Options
Downloads
Patches
Plain Diff
Makefile improvements.
Use .venv for all Python operations if available.
parent
3c68d0a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+7
-7
7 additions, 7 deletions
Makefile
with
7 additions
and
7 deletions
Makefile
+
7
−
7
View file @
a326e29f
...
...
@@ -29,24 +29,24 @@ clean-tests:
rm
-fr
htmlcov/
lint
:
flake8
--exclude
test_tool_deps.py
--max-complexity
9 pulsar
test
if
[
-f
.venv/bin/activate
]
;
then
.
.venv/bin/activate
;
fi
;
flake8
--exclude
test_tool_deps.py
--max-complexity
9 pulsar
test
tests
:
nosetests
if
[
-f
.venv/bin/activate
]
;
then
.
.venv/bin/activate
;
fi
;
nosetests
coverage
:
tests
coverage html
if
[
-f
.venv/bin/activate
]
;
then
.
.venv/bin/activate
;
fi
;
coverage html
open coverage_html_report/index.html
||
xdg-open coverage_html_report/index.html
docs
:
rm
-f
docs/pulsar.rst
rm
-f
docs/galaxy.rst
rm
-f
docs/modules.rst
sphinx-apidoc
-f
-o
docs/ pulsar
sphinx-apidoc
-f
-o
docs/ galaxy
if
[
-f
.venv/bin/activate
]
;
then
.
.venv/bin/activate
;
fi
;
sphinx-apidoc
-f
-o
docs/ pulsar
if
[
-f
.venv/bin/activate
]
;
then
.
.venv/bin/activate
;
fi
;
sphinx-apidoc
-f
-o
docs/ galaxy
cp
docs/fixed_modules.rst docs/modules.rst
$(
MAKE
)
-C
docs clean
$(
MAKE
)
-C
docs html
if
[
-f
.venv/bin/activate
]
;
then
.
.venv/bin/activate
;
fi
;
$(
MAKE
)
-C
docs clean
if
[
-f
.venv/bin/activate
]
;
then
.
.venv/bin/activate
;
fi
;
$(
MAKE
)
-C
docs html
open-docs
:
docs
open docs/_build/html/index.html
||
xdg-open docs/_build/html/index.html
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment