Skip to content
Snippets Groups Projects
Commit 734a08e5 authored by dgelessus's avatar dgelessus
Browse files

Fix license display

parent fa31a250
Branches
Tags
No related merge requests found
Pipeline #144773 passed
......@@ -37,6 +37,14 @@ processResources {
filesMatching("org/sablecc/sablecc/build.properties") {
expand(version: project.version)
}
// Copy license-related files from repository root into resources
from(project.projectDir) {
rename({name -> "org/sablecc/sablecc/" + name})
include("AUTHORS")
include("COPYING-LESSER")
include("LICENSE")
}
}
// Run this task to regenerate the SableCC parser using itself.
......
......@@ -45,7 +45,7 @@ public class SableCC {
System.out
.println("and you are welcome to redistribute it under certain conditions.");
System.out.println();
System.out.println("Type 'sablecc -license' to view");
System.out.println("Type 'sablecc --license' to view");
System.out.println("the complete copyright notice and license.");
System.out.println();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment