added fragments
This commit is contained in:
@@ -8,12 +8,14 @@ import p.packer.messages.PackerProjectContext;
|
||||
import java.nio.file.Path;
|
||||
|
||||
public final class PackMain {
|
||||
private static final String PROJECT = "fragments";
|
||||
|
||||
private PackMain() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
final Path projectRoot = args.length == 0
|
||||
? Path.of("test-projects/main")
|
||||
? Path.of("test-projects/%s".formatted(PROJECT))
|
||||
: Path.of(args[0]);
|
||||
final String projectId = projectRoot.getFileName() == null
|
||||
? "project"
|
||||
|
||||
Reference in New Issue
Block a user