Инициализация проекта
This commit is contained in:
commit
f0349cd899
11 changed files with 111 additions and 0 deletions
21
.gitignore
vendored
Normal file
21
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
.dub
|
||||||
|
docs.json
|
||||||
|
__dummy.html
|
||||||
|
docs/
|
||||||
|
/dncui
|
||||||
|
dncui.so
|
||||||
|
dncui.dylib
|
||||||
|
dncui.dll
|
||||||
|
dncui.a
|
||||||
|
dncui.lib
|
||||||
|
dncui-test-*
|
||||||
|
*.exe
|
||||||
|
*.pdb
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
*.lst
|
||||||
|
lib
|
||||||
|
source/*
|
||||||
|
!source/ncui
|
||||||
|
lib
|
||||||
|
bin
|
||||||
14
.vscode/launch.json
vendored
Normal file
14
.vscode/launch.json
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"type": "code-d",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug example (task build)",
|
||||||
|
"preLaunchTask": "dub: build example (debug)",
|
||||||
|
"dubBuild": false,
|
||||||
|
"program": "${workspaceFolder}/bin/example",
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"editor.insertSpaces": false,
|
||||||
|
"editor.tabSize": 4,
|
||||||
|
"editor.detectIndentation": false
|
||||||
|
}
|
||||||
19
.vscode/tasks.json
vendored
Normal file
19
.vscode/tasks.json
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "dub: build example (debug)",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "dub",
|
||||||
|
"args": [
|
||||||
|
"build",
|
||||||
|
":example",
|
||||||
|
"--build=debug"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
1
README.md
Normal file
1
README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Ncurses User Interface
|
||||||
18
dub.json
Normal file
18
dub.json
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"name": "ncui",
|
||||||
|
"description": "Ncurses User Interface",
|
||||||
|
"license": "BSL-1.0",
|
||||||
|
"authors": [
|
||||||
|
"Alexander Zhirov"
|
||||||
|
],
|
||||||
|
"copyright": "Copyright © 2026, Alexander Zhirov",
|
||||||
|
"targetType": "library",
|
||||||
|
"targetPath": "lib",
|
||||||
|
"targetName": "ncui",
|
||||||
|
"dependencies": {
|
||||||
|
"ncurses": "~>1.0.0"
|
||||||
|
},
|
||||||
|
"subPackages": [
|
||||||
|
"example"
|
||||||
|
]
|
||||||
|
}
|
||||||
6
dub.selections.json
Normal file
6
dub.selections.json
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"fileVersion": 1,
|
||||||
|
"versions": {
|
||||||
|
"ncurses": "1.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
11
example/dub.json
Normal file
11
example/dub.json
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"name": "example",
|
||||||
|
"targetName": "example",
|
||||||
|
"targetType": "executable",
|
||||||
|
"targetPath": "../bin",
|
||||||
|
"dependencies": {
|
||||||
|
"ncui": {
|
||||||
|
"path": ".."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
6
example/dub.selections.json
Normal file
6
example/dub.selections.json
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"fileVersion": 1,
|
||||||
|
"versions": {
|
||||||
|
"ncurses": "1.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
8
example/source/app.d
Normal file
8
example/source/app.d
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
import ncui;
|
||||||
|
|
||||||
|
import std.stdio : writeln;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
writeln("test");
|
||||||
|
}
|
||||||
2
source/ncui/package.d
Normal file
2
source/ncui/package.d
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
module source.ncui;
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue