enforced file system
parent
2a523c7eae
commit
edd91faa96
@ -0,0 +1,8 @@
|
|||||||
|
namespace Yavsc.Abstract.FileSystem {
|
||||||
|
|
||||||
|
public interface IDirectoryShortInfo
|
||||||
|
{
|
||||||
|
string Name { get; set; }
|
||||||
|
bool IsEmpty { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
namespace Yavsc.Abstract.FileSystem
|
||||||
|
{
|
||||||
|
public interface IFileRecievedInfo
|
||||||
|
{
|
||||||
|
string MimeType { get; set; }
|
||||||
|
|
||||||
|
string DestDir { get; set; }
|
||||||
|
|
||||||
|
string FileName { get; set; }
|
||||||
|
|
||||||
|
bool Overriden { get; set; }
|
||||||
|
|
||||||
|
bool QuotaOffensed { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,17 +1,23 @@
|
|||||||
CONFIG=Release
|
CONFIG=Release
|
||||||
VERSION=1.0.2
|
VERSION=1.0.5-rc4
|
||||||
PRJNAME=Yavsc.Abstract
|
PRJNAME=Yavsc.Abstract
|
||||||
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
|
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
|
||||||
DESTPATH=.
|
DESTPATH=.
|
||||||
PACKAGE=$(DESTPATH)/$(PKGFILENAME)
|
PACKAGE=$(DESTPATH)/$(PKGFILENAME)
|
||||||
|
BINARY=bin/$(CONFIG)/net45/Yavsc.Abstract.dll
|
||||||
|
NUGETSOURCE=$(HOME)/Nupkgs/
|
||||||
|
|
||||||
$(PACKAGE):
|
$(PACKAGE): $(BINARY)
|
||||||
nuget pack $(PRJNAME).nuspec -Version $(VERSION)
|
nuget pack $(PRJNAME).nuspec -Version $(VERSION) -Properties config=$(CONFIG)
|
||||||
|
|
||||||
publish: $(PACKAGE)
|
|
||||||
cp $(PACKAGE) ~/Nupkgs
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm $(PACKAGE)
|
rm $(PACKAGE)
|
||||||
|
|
||||||
|
$(BINARY): project.lock.json
|
||||||
|
dnu build --configuration $(CONFIG)
|
||||||
|
|
||||||
|
project.lock.json: project.json
|
||||||
|
dnu restore
|
||||||
|
|
||||||
|
deploy: $(PACKAGE)
|
||||||
|
cp $(PACKAGE) $(NUGETSOURCE)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue