Moved data to data folder, copied on compile

This commit is contained in:
Kwoth 2016-09-13 18:52:59 +02:00
parent d969dcbbbd
commit 7267cf0ee7
77 changed files with 22794 additions and 19 deletions

10
.gitignore vendored
View File

@ -9,13 +9,16 @@
*.pfx *.pfx
.vs .vs
obj/ obj/
# User-specific files (MonoDevelop/Xamarin Studio) # User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs *.userprefs
**/src/NadekoBot/bin **/src/NadekoBot/bin
Tests/bin Tests/bin
src/NadekoBot/credentials.json src/NadekoBot/credentials.json
src/NadekoBot/project.lock.json src/NadekoBot/project.lock.json
src/NadekoBot/data/* src/NadekoBot/data/NadekoBot.db
src/NadekoBot/musicdata/*
src/NadekoBot/project.lock.json
# NuGet Packages # NuGet Packages
*.nupkg *.nupkg
@ -25,12 +28,7 @@ src/NadekoBot/data/*
!**/packages/build/ !**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed # Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config #!**/packages/repositories.config
NadekoBot/bin/Debug/data/nadekobot.sqlite
NadekoBot/bin/Debug/data/config.json
NadekoBot/bin/Debug/data/ServerSpecificConfigs.json
NadekoBot.sln.iml NadekoBot.sln.iml
.idea/workspace.xml .idea/workspace.xml
.idea/vcs.xml .idea/vcs.xml
.idea/modules.xml .idea/modules.xml
NadekoBot/bin/Debug/data/config_xnaas.json
src/NadekoBot/project.lock.json

View File

@ -57,8 +57,8 @@ namespace NadekoBot.Modules.Gambling
var channel = (ITextChannel)imsg.Channel; var channel = (ITextChannel)imsg.Channel;
AllDecks.AddOrUpdate(channel.Guild, AllDecks.AddOrUpdate(channel.Guild,
(s) => new Cards(), (g) => new Cards(),
(s, c) => (g, c) =>
{ {
c.Restart(); c.Restart();
return c; return c;

View File

@ -12,7 +12,7 @@ namespace NadekoBot.Services.Database.Impl
{ {
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{ {
optionsBuilder.UseSqlite("Filename=./NadekoBot.db"); optionsBuilder.UseSqlite("Filename=./data/NadekoBot.db");
} }
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

File diff suppressed because it is too large Load Diff

View File

@ -7,9 +7,12 @@
"emitEntryPoint": true, "emitEntryPoint": true,
"allowUnsafe": true, "allowUnsafe": true,
"compile": { "compile": {
"exclude": [ "_Models", "_Classes", "_Modules" ] "exclude": [ "_Models", "_Classes", "_Modules" ],
}, },
"define": [] "copyToOutput": {
"include": [ "data" ],
"exclude": [ "data/musicdata" ]
}
}, },
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
@ -32,7 +35,7 @@
"Microsoft.EntityFrameworkCore.Design": "1.0.0-preview2-final", "Microsoft.EntityFrameworkCore.Design": "1.0.0-preview2-final",
"Microsoft.EntityFrameworkCore.Sqlite": "1.0.0", "Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
"CoreCLR-NCalc": "2.1.0", "CoreCLR-NCalc": "2.1.0",
"ImageProcessorCore": "1.0.0-alpha1039" "ImageProcessorCore": "1.0.0-alpha-1021"
}, },
"tools": { "tools": {
"Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final" "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"

View File

@ -146,7 +146,7 @@
"lib/netstandard1.3/Google.Apis.YouTube.v3.dll": {} "lib/netstandard1.3/Google.Apis.YouTube.v3.dll": {}
} }
}, },
"ImageProcessorCore/1.0.0-alpha1039": { "ImageProcessorCore/1.0.0-alpha-1021": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
"System.Collections": "4.0.11", "System.Collections": "4.0.11",
@ -3411,12 +3411,12 @@
"lib/portable-net45+netcore45+wpa81+wp8/Google.Apis.YouTube.v3.xml" "lib/portable-net45+netcore45+wpa81+wp8/Google.Apis.YouTube.v3.xml"
] ]
}, },
"ImageProcessorCore/1.0.0-alpha1039": { "ImageProcessorCore/1.0.0-alpha-1021": {
"sha512": "nNLCXniPRY+m59tIQRA71uQQGmbtL0GASzex7zIz0PH6M1/yHxgYtlXZQmeyfkJIrGhJmqJDlYwEu3aZxlTfHw==", "sha512": "ItWOgl9z3E67X5WW6Qp9U0E8rmD9ZkBFPeywkuODASCEfuArc+g5viRo6cD8lXyu2TXDE/LAYlsvu6X5dSOP9w==",
"type": "package", "type": "package",
"path": "ImageProcessorCore/1.0.0-alpha1039", "path": "ImageProcessorCore/1.0.0-alpha-1021",
"files": [ "files": [
"ImageProcessorCore.1.0.0-alpha1039.nupkg.sha512", "ImageProcessorCore.1.0.0-alpha-1021.nupkg.sha512",
"ImageProcessorCore.nuspec", "ImageProcessorCore.nuspec",
"lib/netstandard1.1/ImageProcessorCore.dll" "lib/netstandard1.1/ImageProcessorCore.dll"
] ]
@ -9100,7 +9100,7 @@
"Google.Apis.Customsearch.v1 >= 1.16.0.466", "Google.Apis.Customsearch.v1 >= 1.16.0.466",
"Google.Apis.Urlshortener.v1 >= 1.15.0.138", "Google.Apis.Urlshortener.v1 >= 1.15.0.138",
"Google.Apis.YouTube.v3 >= 1.15.0.582", "Google.Apis.YouTube.v3 >= 1.15.0.582",
"ImageProcessorCore >= 1.0.0-alpha1039", "ImageProcessorCore >= 1.0.0-alpha-1021",
"Microsoft.EntityFrameworkCore >= 1.0.0", "Microsoft.EntityFrameworkCore >= 1.0.0",
"Microsoft.EntityFrameworkCore.Design >= 1.0.0-preview2-final", "Microsoft.EntityFrameworkCore.Design >= 1.0.0-preview2-final",
"Microsoft.EntityFrameworkCore.Sqlite >= 1.0.0", "Microsoft.EntityFrameworkCore.Sqlite >= 1.0.0",