-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
amysql.nimble
36 lines (30 loc) · 888 Bytes
/
amysql.nimble
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Package
version = "0.7.6"
author = "bung87"
description = "Async MySQL Connector write in pure Nim."
license = "MIT"
srcDir = """src"""
skipFiles = @["index.nim"]
skipDirs = @["tests"]
task docs,"a":
exec "nim doc --project src/index.nim"
task ghpage,"gh page":
cd "src/htmldocs"
exec "git init"
exec "git add ."
exec "git config user.name \"bung87\""
exec "git config user.email \"[email protected]\""
exec "git commit -m \"docs(docs): update gh-pages\""
let url = "\"https://[email protected]/bung87/amysql.git\""
exec "git push --force --quiet " & url & " master:gh-pages"
# Dependencies
requires "nim >= 1.3.1" # await inside template needs
requires "nimcrypto"
requires "regex"
requires "zstd"
requires "urlly"
requires "chronos"
when (NimMajor, NimMinor) >= (2, 0):
requires "db_connector"
# Optional dependencies:
# zstd