Skip to content

Commit

Permalink
Merge pull request #81 from nvbinh15/branch-refactor-name
Browse files Browse the repository at this point in the history
Branch refactor name
  • Loading branch information
nvbinh15 authored Oct 13, 2021
2 parents fd367f1 + 2dff926 commit e769062
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ test {
}

application {
mainClassName = "seedu.duke.Duke"
mainClassName = "seedu.duke.Click"
}

shadowJar {
archiveBaseName = "duke"
archiveBaseName = "click"
archiveClassifier = null
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Manifest-Version: 1.0
Main-Class: seedu.duke.Duke
Main-Class: seedu.duke.Click

Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
package seedu.duke;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.FileAlreadyExistsException;
import java.util.Scanner;
import java.util.logging.Logger;

import seedu.duke.exceptions.ClickException;
import seedu.duke.logger.ClickLogger;
import seedu.duke.task.TaskList;
import seedu.duke.exceptions.ExceptionHandler;

import seedu.duke.ui.Ui;
import seedu.duke.commands.Command;
import seedu.duke.storage.Storage;
import seedu.duke.parser.Parser;

public class Duke {
public class Click {

private static Ui ui = new Ui();
private static ExceptionHandler exceptionHandler = new ExceptionHandler();
Expand Down Expand Up @@ -64,7 +61,7 @@ private static void run() {
* @param args Unused params.
*/
public static void main(String[] args) {
new Duke();
Duke.run();
new Click();
Click.run();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import org.junit.jupiter.api.Test;

class DukeTest {
class ClickTest {
@Test
public void sampleTest() {
assertTrue(true);
Expand Down

0 comments on commit e769062

Please # to comment.