Skip to content

Commit

Permalink
jana-generate.py no longer pulls in ROOT by default
Browse files Browse the repository at this point in the history
This addresses issue #279
  • Loading branch information
nathanwbrei committed Jun 21, 2024
1 parent a56fbc7 commit 92ec832
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 92ec832

Please sign in to comment.