From c4c1d37fcdeb17680a85af25431314dae4fa3584 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Fri, 23 Mar 2018 23:16:37 -0700 Subject: refactor: move templates from root to share/spack - This complies with the unix directory hierarchy standard (which Spack attempts to follow) - Also unclutters the repo root directory. --- templates/modules/modulefile.dk | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 templates/modules/modulefile.dk (limited to 'templates/modules/modulefile.dk') diff --git a/templates/modules/modulefile.dk b/templates/modules/modulefile.dk deleted file mode 100644 index c3f6d2dce1..0000000000 --- a/templates/modules/modulefile.dk +++ /dev/null @@ -1,31 +0,0 @@ -{% block header %} -{% if category %} -#c {{ category }} -{% endif %} -{% if short_description %} -#d {{ short_description }} -{% endif %} -{% if long_description %} -{{ long_description| textwrap(72)| prepend_to_line('#h ')| join() }} -{% endif %} -{% endblock %} - -{% block autoloads %} -{% for module in autoload %} -dk_op {{ module }} -{% endfor %} -{% endblock %} - -{% block environment %} -{% for command_name, cmd in environment_modifications %} -{% if command_name == 'PrependPath' %} -dk_alter {{ cmd.name }} {{ cmd.value }} -{% endif %} -{% if command_name == 'RemovePath' %} -dk_unalter {{ cmd.name }} {{ cmd.value }} -{% endif %} -{% if command_name == 'SetEnv' %} -dk_setenv {{ cmd.name }} {{ cmd.value }} -{% endif %} -{% endfor %} -{% endblock %} -- cgit v1.2.3-70-g09d2