restructed the project to fall in line with current nim package spec

This commit is contained in:
Prince 2024-06-16 15:16:01 -05:00
parent b79a99ff73
commit 2cf7058082
9 changed files with 16 additions and 11 deletions

3
.gitignore vendored
View file

@ -1 +1,2 @@
main
Blk_Jack

13
Blk_Jack.nimble Normal file
View file

@ -0,0 +1,13 @@
# Package
version = "0.69"
author = "Prince"
description = "a BlackJack helper made with qml written in nim"
license = "GPL-3.0"
srcDir = "src"
bin = @["Blk_Jack"]
# Dependencies
requires "nim >= 1.2.0, nimqml >= 0.9.0"

2
notes
View file

@ -1,2 +0,0 @@
Push should be yellow w is green l is red
Double can be purple cause favorite color

View file

@ -7,7 +7,7 @@ proc mainProc() =
var engine = newQQmlApplicationEngine()
defer: engine.delete()
engine.load("main.qml")
engine.load("src/main.qml")
app.exec()
when isMainModule:

View file

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 177 KiB

View file

@ -1,7 +0,0 @@
[Package]
bin = "main"
name = "test"
version = "0.1.0"
[Deps]
Requires: "nim >= 1.2.0, nimqml >= 0.9.0"