Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
3b19ba1
Add Gradle support
May 24, 2020
a75fcee
build.gradle: Update version to 8.29
Aug 29, 2020
db55a78
level-1
Yihe-Harry Jan 21, 2021
066e8c8
level-2
Yihe-Harry Jan 21, 2021
bf935b0
level 3
Yihe-Harry Jan 21, 2021
d47901e
level 3 with class representation
Yihe-Harry Jan 21, 2021
05346b3
level 4
Yihe-Harry Jan 21, 2021
8364da2
level 5
Yihe-Harry Jan 21, 2021
f4a4ad1
level 6
Yihe-Harry Jan 21, 2021
a33b042
ignored directory created
Yihe-Harry Jan 25, 2021
ed0442c
A-enum with changes on the methods
Yihe-Harry Jan 25, 2021
c9b5edb
add save to hard disc function
Yihe-Harry Jan 27, 2021
516c4e4
Level-8
Yihe-Harry Jan 28, 2021
4cc952a
A-MoreOOP
Yihe-Harry Jan 28, 2021
7e6558a
“A-MoreOOP
Yihe-Harry Jan 28, 2021
fa889ea
Packages
Yihe-Harry Jan 28, 2021
d317eca
Level-9
Yihe-Harry Jan 28, 2021
fadba7b
update packages
Yihe-Harry Jan 31, 2021
47b2631
Merge branch 'add-gradle-support' of https://github.com/Yihe-Harry/ip
Yihe-Harry Jan 31, 2021
706cf77
A-Gradle
Yihe-Harry Feb 1, 2021
c9f2f89
A-CheckStyle
Yihe-Harry Feb 1, 2021
eea3064
gradle-issue
Yihe-Harry Feb 4, 2021
f4c8603
Level 10 :beer:
Yihe-Harry Feb 8, 2021
56880c6
Merge branch 'gradle-setup-issue'
Yihe-Harry Feb 8, 2021
66a5ee2
A-Jar
Yihe-Harry Feb 8, 2021
6c68244
A-JUit :beer:
Yihe-Harry Feb 8, 2021
9a14a79
A-Assertions
Yihe-Harry Feb 13, 2021
db25190
fix bugs and add background
Yihe-Harry Feb 16, 2021
f353ca4
fix bug and add background
Yihe-Harry Feb 16, 2021
9751c1b
Merge branch 'branch-A-Assertions'
Yihe-Harry Feb 16, 2021
0d37a17
bug fixed :beer:
Yihe-Harry Feb 17, 2021
1532eb9
Checkstyle fix :flower:
Yihe-Harry Feb 17, 2021
f062a02
minor bug fixed :trollface:
Yihe-Harry Feb 17, 2021
458523f
A-BetterGui :fire:
Yihe-Harry Feb 17, 2021
39e6e1c
A-CodeQuality :blue_heart:
Yihe-Harry Feb 17, 2021
1e39df8
add report tasks when list is empty :dog:
Yihe-Harry Feb 18, 2021
3c79820
modify gitignore to ignore the data file :blue_heart:
Yihe-Harry Feb 18, 2021
484c2eb
minor bug fix, change jdk to java 11 :kiss:
Yihe-Harry Feb 18, 2021
f6e50b2
user guide :fire:
Yihe-Harry Feb 18, 2021
c76308c
user guide with image :muscle:
Yihe-Harry Feb 18, 2021
2f97552
add user guide and UI pgn :globe_with_meridians:
Yihe-Harry Feb 19, 2021
7696391
Update README.md
Yihe-Harry Feb 19, 2021
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
/build/
src/main/resources/docs/

# data file
/data/

# MacOS custom attributes files created by Finder
.DS_Store
*.iml
Expand Down
3 changes: 3 additions & 0 deletions .gitignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/data

*.class
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,47 @@ Prerequisites: JDK 11, update Intellij to the most recent version.
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
```

# User Guide for Duke Memo

![duke1](https://user-images.githubusercontent.com/67280376/108384335-9f8c1600-7245-11eb-8b6a-990e3830b0fc.png)

![duke2](https://user-images.githubusercontent.com/67280376/108384416-b16db900-7245-11eb-8769-92e7f3970c8c.png)

![duke3](https://user-images.githubusercontent.com/67280376/108384424-b3377c80-7245-11eb-8d43-f66288539e9f.png)

## Features

1. add tasks
2. mark tasks as done
3. list out tasks
4. delete tasks


## Usage
i. add tasks by using `add "x" description` where `x` can be `event`, `deadline` or `todo`

ii. mark tasks as done by using `done "task number"`

iii. delete tasks by using `delete "task number`

iv. show tasks by using `list`


### `Keyword` - sample actions

Example of usage:

`add todo learn java`

Expected outcome:

`Got it, I have added the following task to the list`

Example of usage:

`bye`

Expected outcome:

`Program exist`
77 changes: 77 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

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 = "Launcher"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.29'
}

run{
enableAssertions = true
standardInput = System.in
}

repositories {
mavenCentral()
}

dependencies {
String javaFxVersion = '11'

implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'linux'

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'
}

task hello {
doLast {
println 'Hello world!'
}
}
Loading