Skip to content

Commit

Permalink
Upgrade to Nim 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
theAkito committed Nov 6, 2023
1 parent 3d909ff commit 001785e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM nimlang/nim:1.6.14-alpine AS build
FROM nimlang/nim:2.0.0-alpine AS build

ARG nimble_task_build=docker_build_prod
ARG app_version=0.2.2
ARG app_version=0.3.0

WORKDIR /app

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ Production
* ~~Fix API Response Caching~~
* ~~Implement appVersion~~
* ~~Publish via [Nimble](https://nimble.directory/)~~
* ~~Do not force both `patternKeywordsNo` or `patternKeywordsYes` to exist; either is enough~~
* ~~Allow either a `patternKeywordsNo` or a `patternKeywordsYes` to be duplicated across contexts~~
* ~~Do not push for 3 days schedule if 7 days notification was already pushed within 3 days~~
* Allow non-English characters in `patternKeywordsNo` and `patternKeywordsYes`
* Publish Configuration File Documentation

## License
Expand Down
4 changes: 2 additions & 2 deletions debug.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM nimlang/nim:1.6.14-alpine AS build
FROM nimlang/nim:2.0.0-alpine AS build

ARG nimble_task_build=docker_build_debug
ARG app_version=0.2.2
ARG app_version=0.3.0

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion src/zoominvitr/meta.nim
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const
logMsgSuffix * {.strdefine.} = " -> "
hostRedis * {.strdefine.} = "redis"
portRedis * {.intdefine.} = 6379
appVersion * {.strdefine.} = "0.2.2"
appVersion * {.strdefine.} = "0.3.0"
appRevision * {.strdefine.} = appVersion
appDate * {.strdefine.} = appVersion
configNameJSON * {.strdefine.} = "zoominvitr.json"
Expand Down
8 changes: 4 additions & 4 deletions zoominvitr.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.2.2"
version = "0.3.0"
author = "Akito <[email protected]>"
description = "Automatically send invitations about planned Zoom meetings."
license = "AGPL-3.0-or-later"
Expand All @@ -13,15 +13,15 @@ backend = "c"

# Dependencies

requires "nim >= 1.6.14"
requires "smtp#8013aa199dedd04905d46acf3484a232378de518" ## https://github.com/nim-lang/smtp/issues/9
requires "nim >= 2.0.0"
requires "schedules >= 0.2.0"
requires "puppy >= 1.0.3"
requires "ready >= 0.1.4" ## https://github.com/guzba/ready
requires "timestamp >= 0.4.2"
requires "timezones >= 0.5.4"
requires "zero_functional >= 1.3.0"
requires "yaml#189844a72b90ba7ade864f997280809efcb21d0a" ## https://github.com/flyx/NimYAML
requires "smtp#8013aa199dedd04905d46acf3484a232378de518" ## https://github.com/nim-lang/smtp/issues/9
requires "yaml#854d33378e2b31ada7e54716439a4d6990460268" ## https://github.com/flyx/NimYAML/issues/101


# Tasks
Expand Down

0 comments on commit 001785e

Please sign in to comment.