vnext
parent
4e3845755b
commit
ae74d02c35
@ -0,0 +1,16 @@
|
||||
|
||||
|
||||
MSBUILD=msbuild
|
||||
MONO=mono
|
||||
CONFIGURATION=Debug
|
||||
BINTYPE=exe
|
||||
PRJNAME := $(shell basename `pwd -P`)
|
||||
SOLUTIONDIR=$(HOME)/workspace/yavsc
|
||||
rc_num := $(shell cat $(SOLUTIONDIR)/rc-num.txt)
|
||||
VERSION=1.0.5-rc$(rc_num)
|
||||
|
||||
BINTARGET=$(PRJNAME).$(BINTYPE)
|
||||
BINTARGETPATH=bin/$(CONFIGURATION)/$(BINTARGET)
|
||||
NUGETSOURCE=$(HOME)/Nupkgs
|
||||
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
|
||||
|
@ -0,0 +1,21 @@
|
||||
|
||||
include ../msbuild.mk
|
||||
|
||||
all: build
|
||||
|
||||
run: $(BINTARGETPATH)
|
||||
$(MONO) $(BINTARGETPATH)
|
||||
|
||||
$(BINTARGETPATH): build
|
||||
|
||||
build:
|
||||
$(MSBUILD) $(PRJNAME).csproj /t:Build
|
||||
|
||||
restore:
|
||||
$(MSBUILD) $(PRJNAME).csproj /t:Restore
|
||||
|
||||
clean:
|
||||
$(MSBUILD) $(PRJNAME).csproj /t:Clean
|
||||
|
||||
.PHONY: run build restore
|
||||
|
Loading…
Reference in New Issue