pushing <3

This commit is contained in:
2018-04-26 21:02:11 +02:00
parent 96e250e0cd
commit b973d34eba
10 changed files with 44 additions and 24 deletions

View File

@ -6,9 +6,9 @@ CONFIGURATION=Release
ASPNET_LOG_LEVEL=info #warn
HOSTING=localhost
HOSTADMIN=root
FRMWRK=dnx451
BINTARGET=Yavsc.dll
BINTARGETPATH=bin/$(CONFIGURATION)/$(FRMWRK)/$(BINTARGET)
FRAMEWORKALIAS=dnx451
BINTARGET=$(PRJNAME).dll
BINTARGETPATH=bin/$(CONFIGURATION)/$(FRAMEWORKALIAS)/$(BINTARGET)
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
DESTPATH=.
@ -16,6 +16,8 @@ PACKAGE=$(DESTPATH)/$(PKGFILENAME)
NUGETSOURCE=$(HOME)/Nupkgs/
all: $(BINTARGETPATH)
$(BINTARGETPATH):
dnu build
deploy: clean pushInPre pushInProd
@ -92,5 +94,6 @@ project.lock.json: project.json
deploy-pkg: $(PACKAGE)
cp $(PACKAGE) $(NUGETSOURCE)
.PHONY: $(PACKAGE) $(BINTARGETPATH)

View File

@ -27,7 +27,7 @@ namespace Yavsc.Server.Models.EMailing
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
[MaxLengthAttribute(128)]
[MaxLengthAttribute(128),MinLength(3)]
public string ShortName { get; set; }
/// <summary>

View File

@ -8,7 +8,8 @@ namespace Yavsc.Templates
{
public ApplicationUser User { get; set; }
public override Task ExecuteAsync ()
public override async Task ExecuteAsync ()
{
throw new System.NotImplementedException();
}

View File

@ -1,5 +1,5 @@
{
"version": "1.0.5-rc11",
"version": "1.0.5-rc12",
"authors": [
"Paul Schneider"
],
@ -177,4 +177,4 @@
"prepublish": "gulp min"
},
"embed": "Views/**/*.cshtml"
}
}