Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: jana-generate.py no longer pulls in ROOT by default #310

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/jana-generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,12 +1031,12 @@ def create_executable(name):
pass


def create_plugin(name, is_standalone=True, is_mini=True, include_root=True, include_tests=False):
def create_plugin(name, is_standalone=True, is_mini=True, include_root=False, include_tests=False):
"""Create a code skeleton for a plugin in its own directory. Takes the following positional arguments:
name The name of the plugin, e.g. "trk_eff" or "TrackingEfficiency"
[is_standalone] Is this a new project, or are we inside the source tree of an existing CMake project? (default=True)
[is_mini] Reduce boilerplate and put everything in a single file? (default=True)
[include_root] Include a ROOT dependency and stubs for filling a ROOT histogram? (default=True)
[include_root] Include a ROOT dependency and stubs for filling a ROOT histogram? (default=False)

Example: `jana_generate.py Plugin TrackingEfficiency 1 0 0`
"""
Expand Down
Loading