Инициализация проекта
This commit is contained in:
commit
bcfd2c49e5
8 changed files with 64 additions and 0 deletions
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
.dub
|
||||||
|
docs.json
|
||||||
|
__dummy.html
|
||||||
|
docs/
|
||||||
|
/snapd
|
||||||
|
snapd.so
|
||||||
|
snapd.dylib
|
||||||
|
snapd.dll
|
||||||
|
snapd.a
|
||||||
|
snapd.lib
|
||||||
|
snapd-test-*
|
||||||
|
*.exe
|
||||||
|
*.pdb
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
*.lst
|
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
|
||||||
|
}
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# snapd
|
||||||
|
|
||||||
|
Snapshot D - система резервного копирования на основе фиксации состояния файлов с помощью Git.
|
14
dub.json
Normal file
14
dub.json
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"authors": [
|
||||||
|
"Alexander Zhirov"
|
||||||
|
],
|
||||||
|
"copyright": "Copyright © 2025, Alexander Zhirov",
|
||||||
|
"description": "A backup system based on tracking file states using Git",
|
||||||
|
"license": "GPL-2.0-or-later",
|
||||||
|
"name": "snapd",
|
||||||
|
"targetPath": "bin",
|
||||||
|
"targetType": "executable",
|
||||||
|
"dependencies": {
|
||||||
|
"commandr": "~>1.1.0"
|
||||||
|
}
|
||||||
|
}
|
6
dub.selections.json
Normal file
6
dub.selections.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"fileVersion": 1,
|
||||||
|
"versions": {
|
||||||
|
"commandr": "1.1.0"
|
||||||
|
}
|
||||||
|
}
|
14
source/app.d
Normal file
14
source/app.d
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
import snapd;
|
||||||
|
import commandr;
|
||||||
|
|
||||||
|
import core.stdc.stdlib : EXIT_SUCCESS;
|
||||||
|
|
||||||
|
private string programName = "snapd";
|
||||||
|
|
||||||
|
int main(string[] args)
|
||||||
|
{
|
||||||
|
auto argumets = new Program(programName, snapdVersion)
|
||||||
|
.parse(args);
|
||||||
|
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
3
source/snapd/package.d
Normal file
3
source/snapd/package.d
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module snapd;
|
||||||
|
|
||||||
|
public import snapd.version_;
|
3
source/snapd/version_.d
Normal file
3
source/snapd/version_.d
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module snapd.version_;
|
||||||
|
|
||||||
|
enum snapdVersion = "0.0.1";
|
Loading…
Add table
Add a link
Reference in a new issue