Skip to content

Commit 2f1ca62

Browse files
committed
Update README to get rid of errors
Some inaccuracies have to be corrected.
1 parent d297447 commit 2f1ca62

8 files changed

Lines changed: 20 additions & 217 deletions

File tree

build.gradle

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,33 @@ checkstyle {
1313
toolVersion = '8.29'
1414
}
1515

16+
run {
17+
enableAssertions = true
18+
standardInput = System.in
19+
}
20+
21+
shadowJar {
22+
archiveBaseName = "duke"
23+
archiveClassifier = null
24+
}
25+
26+
1627
test {
1728
useJUnitPlatform()
1829
}
1930

2031
application {
21-
mainClassName = 'duke.Main'
32+
mainClassName = 'duke.Launcher'
2233
}
2334

2435
dependencies {
2536

26-
String javaFxVersion = '11'
27-
2837
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
2938
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'
3039
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.7.0'
3140

41+
String javaFxVersion = '11'
42+
3243
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win'
3344
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac'
3445
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux'

docs/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ One event task must be associated with one date, that is the date this event occ
2424
Example of usage: 1.`event hang out with friends /at Cathay Cineplex 2021-03-04`
2525

2626
Expected outcome:
27-
`Got it! I have added this task: \n\t [E][X] hang out with friends (at: Cathay Cineplex Mar 4 2021) \n Now you have __ number of tasks in the
27+
`Got it! I have added this task: \n\t [E][X] hang out with friends (at: Cathay Cineplex Mar 4 2021) \n Now you have 1 tasks in the
2828
list.`
2929

3030

@@ -40,7 +40,7 @@ A deadline task must be associated with one date, that is the date by which the
4040
CLI with the following format `deadline (String description) /by (String containing date`). Similar to adding an event task from earlier,
4141
the date must be in the format "yyyy-mm", and it must be present after that /by keyword. It can be at any position in the string so long as
4242
it comes after /by. For multiple date clashes, **see 'event' feature** for how it will be resolved, as it is similar. After entering the command,
43-
a deadline task will be added to the list, and the chatbot will output a message to notify you if the command was succesful.
43+
a deadline task will be added to the list, and the chatbot will output a message to notify you if the command was successful.
4444

4545
Example of usage:
4646

@@ -49,7 +49,7 @@ Example of usage:
4949
Expected outcome:
5050

5151
`Got it! I have added this task:
52-
\n\t [D][X] I need to do my homework (by: Apr 5 2021 6pm) \n Now you have __ number of tasks in the
52+
\n\t [D][X] I need to do my homework (by: Apr 5 2021 6pm) \n Now you have 2 tasks in the
5353
list.`
5454

5555
### Feature 3
@@ -68,7 +68,7 @@ Example of usage:
6868

6969
Expected outcome:
7070

71-
`Got it! I have added this task: \n\t [T][X] read a good book \n Now you have __ number of tasks in the list.`
71+
`Got it! I have added this task: \n\t [T][X] read a good book \n Now you have 3 tasks in the list.`
7272

7373
### Feature 4
7474

@@ -110,6 +110,7 @@ Example of usage:
110110
Expected outcome:
111111

112112
the third numbered task should be deleted from the list and GUI displays the task that is deleted, within a confirmation message.
113+
Also the number of tasks left in the list is displayed.
113114

114115
### Feature 6
115116

@@ -132,7 +133,7 @@ Expected outcome:
132133

133134
The task at 3 will be marked as done. The next time the task is displayed, in the string
134135
representation, the task will be ticked instead of marked with a cross. For example the
135-
following to do task is marked as done
136+
following to do task is marked as done.
136137

137138
`[T][✓] Get out of the house`
138139

text-ui-test/EXPECTED-UNIX.TXT

Lines changed: 0 additions & 79 deletions
This file was deleted.

text-ui-test/EXPECTED.TXT

Lines changed: 0 additions & 54 deletions
This file was deleted.

text-ui-test/data/duke.txt

Whitespace-only changes.

text-ui-test/input.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

text-ui-test/runtest.bat

Lines changed: 0 additions & 21 deletions
This file was deleted.

text-ui-test/runtest.sh

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)