Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sun Yu Ting] iP #22

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
556af3f
Add Gradle support
May 24, 2020
c822d2b
Added Level 1
Effixion Aug 18, 2022
9174bde
Added TaskList and Added Level 2
Effixion Aug 18, 2022
5fef1c9
Added Level 2
Effixion Aug 18, 2022
875ad5e
Added Level-3
Effixion Aug 18, 2022
79bf0d9
Added Level-4
Effixion Aug 18, 2022
4793fc4
Added Automated Text UI Testing
Effixion Aug 18, 2022
0de3794
Added exceptions and handling of exceptions
Effixion Aug 18, 2022
4ca880d
Added delete funtionality using ArrayList
Effixion Aug 18, 2022
943ed7a
Add the ability to save tasks to the hard disk. Only applicable to to…
Effixion Aug 23, 2022
2901935
Add Level-7
Effixion Aug 25, 2022
ca17249
Add Level-8
Effixion Aug 25, 2022
1ff3691
Merge branch 'branch-Level-7'
Effixion Aug 25, 2022
11e9ef5
Merge branch 'branch-Level-8'
Effixion Aug 25, 2022
0329778
Fix all the merging problems
Effixion Aug 25, 2022
d4679cf
Fix some spacing issues causing the program to throw an exception
Effixion Aug 25, 2022
301b54e
Add MoreOOP
Effixion Aug 25, 2022
d7ab17c
Organise classes into different packages
Effixion Aug 26, 2022
f242bc4
Merge branch 'add-gradle-support' of https://github.com/nus-cs2103-AY…
Effixion Aug 26, 2022
2063bb5
Add JUnit Tests for Ui and TaskList
Effixion Aug 26, 2022
01bd5b7
Add JavaDocs to most classes and public methods
Effixion Aug 27, 2022
beed911
Add Level-9
Effixion Aug 27, 2022
5818da9
Tweak code to comply with coding standard
Effixion Aug 27, 2022
2c7a343
Merge branch 'branch-Level-9'
Effixion Aug 27, 2022
b89ef48
Merge branch 'branch-A-CodingStandard'
Effixion Aug 27, 2022
81f5061
Update README.md
Effixion Sep 1, 2022
6c41879
Use checkstyle to fix coding style violations
Effixion Sep 1, 2022
50d2258
Add GUI using JavaFX and fixed checkstyle errors
Effixion Sep 1, 2022
90bf887
Merge remote-tracking branch 'origin/master' into branch-A-CheckStyle
Effixion Sep 1, 2022
6cf12c1
Merge branch 'master' into branch-A-CheckStyle
Effixion Sep 1, 2022
e25ba5f
Update README
Effixion Sep 1, 2022
473f6e8
Merge branch 'branch-A-CheckStyle'
Effixion Sep 1, 2022
e7fb178
Update build.gradle to generate JAR files
Effixion Sep 8, 2022
59051f4
Add a goodbye message when the user enters bye.
Effixion Sep 8, 2022
aeb0929
Add assertions. Update the names in Storage to fit naming conventions.
Effixion Sep 8, 2022
8f15150
Improve code quality through refactoring.
Effixion Sep 8, 2022
ac10a38
Improve code quality through refactoring.
Effixion Sep 8, 2022
6170224
Revert "Improve code quality through refactoring."
Effixion Sep 8, 2022
088b1d7
Add assertions. Update the names in Storage
Effixion Sep 8, 2022
4365564
Revert "Add assertions. Update the names in Storage to fit naming con…
Effixion Sep 8, 2022
73f63e0
Merge branch 'branch-A-Assertions' of https://github.com/Effixion/ip …
Effixion Sep 8, 2022
e95df62
Merge branch 'branch-A-CodeQuality' of https://github.com/Effixion/ip…
Effixion Sep 8, 2022
7b82139
Merge pull request #2 from Effixion/branch-A-Assertions
Effixion Sep 8, 2022
d121761
Merge pull request #3 from Effixion/branch-A-CodeQuality
Effixion Sep 8, 2022
85d2844
Add C-Tagging.
Effixion Sep 8, 2022
94ddaf1
Merge branch 'branch-C-Tagging'
Effixion Sep 8, 2022
de494ee
Update README.md
Effixion Sep 10, 2022
8bf8336
Add abstract class Command. Fix some formatting issues when
Effixion Sep 14, 2022
16ecca3
Merge branch 'master' of https://github.com/Effixion/ip
Effixion Sep 14, 2022
8db9904
Add A-Personality
Effixion Sep 14, 2022
c3ef243
Add representative screenshot
Effixion Sep 14, 2022
0fef5e8
Update README.md
Effixion Sep 14, 2022
2c76ce6
Add more exception handling
Effixion Sep 16, 2022
5303aeb
Change build.gradle for .jar
Effixion Sep 16, 2022
c3fde8c
Fixed main class name in build.gradle
Effixion Sep 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 30 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,33 @@
# Duke project template
# DukeBot

> "You miss 100% of the shots you dont take." - My friend advising people on medical forums.

DukeBot helps you to keep organised. How?

- Text-based
- Easy to grasp
- ~~Very~~ Extremely easy to learn!

All you need to do is:

1. Download it from [here](https://github.com/Effixion/ip/releases/tag/v1.0)
2. Double click the jar file
3. Add your tasks
4. Let it help you to keep organised!

AND IT'S __FREE__

Features:
- [x] Adding tasks
- [x] Deleting tasks
- [ ] GUI (Coming soon)

This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.

## Setting up in Intellij

Prerequisites: JDK 11, update Intellij to the most recent version.

1. Open Intellij (if you are not in the welcome screen, click `File` > `Close Project` to close the existing project first)
1. Open the project into Intellij as follows:
1. Click `Open`.
1. Select the project directory, and click `OK`.
1. If there are any further prompts, accept the defaults.
1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).<br>
In the same dialog, set the **Project language level** field to the `SDK default` option.
3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
```
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
```
Here's how the main method looks like in the Duke class:

```
public static void main(String[] args) {
new Duke("tasks.txt").run();
}
```
46 changes: 46 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

checkstyle {
toolVersion = '10.2'
}

repositories {
mavenCentral()
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'
}

test {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}

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

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run{
standardInput = System.in
}
Loading