Skip to content

Commit 6e1bbe5

Browse files
committed
update nimble project structure
1 parent 8716da8 commit 6e1bbe5

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

otp.nim

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@
1010

1111
from hmac import hmac_sha1
1212
from base32 import decode
13-
from sha1 import toHex
1413
from math import pow
1514
from times import epochTime
1615

17-
const
18-
VERSION* = "0.1.1"
19-
2016
type
2117
OneTimePassword = ref object of RootObj
2218
digits: int

otp.nimble

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[Package]
2-
name = "OTP"
2+
name = "otp"
33
version = "0.2.1"
44
author = "Huy Doan"
55
description = "One Time Password library for Nim"
66
license = "MIT"
7+
skipDirs = @["tests"]
78

89
[Deps]
910
Requires: "nim >= 1.6.10"

tests/config.nims

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
switch("path", "$projectDir/../src")
File renamed without changes.

0 commit comments

Comments
 (0)