vnext
Paul Schneider 6 years ago
parent fd7b50bc8a
commit 08eca1f46f
283 changed files with 23194 additions and 590 deletions

@ -0,0 +1,25 @@
CONFIG=Release
PRJNAME=Yavsc.Server
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
DESTPATH=.
PACKAGE=$(DESTPATH)/$(PKGFILENAME)
BINARY=bin/$(CONFIG)/net451/$(PRJNAME).dll
NUGETSOURCE=$(HOME)/Nupkgs/
$(PACKAGE): $(BINARY)
nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIG)
clean:
rm $(PACKAGE)
$(BINARY): project.lock.json
dnu build --configuration $(CONFIG)
project.lock.json: project.json
dnu restore
deploy: $(PACKAGE)
cp $(PACKAGE) $(NUGETSOURCE)
.PHONY: $(BINARY)

@ -4,8 +4,9 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models namespace Yavsc.Models
{ {
using Yavsc; using Yavsc;
public partial class AccountBalance: IAccountBalance { public partial class AccountBalance: IAccountBalance {
[Key] [Key]
public string UserId { get; set; } public string UserId { get; set; }

@ -28,7 +28,7 @@ namespace Yavsc.Server.Models.EMailing
public long Id { get; set; } public long Id { get; set; }
[MaxLengthAttribute(128),MinLength(3)] [MaxLengthAttribute(128),MinLength(3)]
public string ShortName { get; set; } public string Topic { get; set; }
/// <summary> /// <summary>
/// Markdown template to process /// Markdown template to process

Some files were not shown because too many files have changed in this diff Show More

Loading…