refact.
This commit is contained in:
25
Yavsc.Server/Makefile
Normal file
25
Yavsc.Server/Makefile
Normal file
@ -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)
|
@ -6,6 +6,7 @@ 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
Reference in New Issue
Block a user