Compare commits

...

2 Commits

Author SHA1 Message Date
378ab4c026 renamed distribution directory 2025-08-29 12:13:10 +02:00
5485517150 fix lunch duration calculation 2025-08-29 12:06:33 +02:00
3 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,3 @@
target/ target/
deploy/ dist/
*.class *.class

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -uo pipefail set -uo pipefail
if [[ -d deploy/ ]]; then if [[ -d dist/ ]]; then
rm -r deploy/; rm -r dist/;
fi fi
cp -r target/ deploy/; cp -r target/ dist/;

View File

@@ -93,7 +93,7 @@ public interface WorkdayLoadingBar {
private long getMinLunchDuration(int endTimeOffset) { private long getMinLunchDuration(int endTimeOffset) {
if (endTimeOffset <= 0) { if (endTimeOffset >= 0) {
return MIN_LUNCH_DURATION; return MIN_LUNCH_DURATION;
} }
long totalDuration = MAX_NUMBER_WORK_MINS + endTimeOffset; long totalDuration = MAX_NUMBER_WORK_MINS + endTimeOffset;