.
This commit is contained in:
1
dnx.mk
1
dnx.mk
@ -9,6 +9,7 @@ ASPNET_LOG_LEVEL=Debug
|
|||||||
HOSTING=localhost
|
HOSTING=localhost
|
||||||
HOSTADMIN=root
|
HOSTADMIN=root
|
||||||
FRAMEWORKALIAS=dnx451
|
FRAMEWORKALIAS=dnx451
|
||||||
|
# nuget package destination, at generation time
|
||||||
BINTARGET=$(PRJNAME).dll
|
BINTARGET=$(PRJNAME).dll
|
||||||
BINTARGETPATH=bin/$(CONFIGURATION)/$(FRAMEWORKALIAS)/$(BINTARGET)
|
BINTARGETPATH=bin/$(CONFIGURATION)/$(FRAMEWORKALIAS)/$(BINTARGET)
|
||||||
|
|
||||||
|
16
msbuild.mk
Normal file
16
msbuild.mk
Normal file
@ -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
|
||||||
|
|
@ -4,10 +4,9 @@ SOLUTIONDIR=$(HOME)/workspace/yavsc
|
|||||||
rc_num := $(shell cat $(SOLUTIONDIR)/rc-num.txt)
|
rc_num := $(shell cat $(SOLUTIONDIR)/rc-num.txt)
|
||||||
DESTDIR=$(SOLUTIONDIR)/build
|
DESTDIR=$(SOLUTIONDIR)/build
|
||||||
MAKE=make
|
MAKE=make
|
||||||
VERSION=1.0.5-rc$(rc_num)
|
|
||||||
CONFIGURATION=Release
|
|
||||||
# nuget package destination, at generation time
|
|
||||||
NUGETSOURCE=$(HOME)/Nupkgs
|
NUGETSOURCE=$(HOME)/Nupkgs
|
||||||
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
|
PKGFILENAME=$(PRJNAME).$(VERSION).nupkg
|
||||||
|
VERSION=1.0.5-rc$(rc_num)
|
||||||
|
CONFIGURATION=Release
|
||||||
|
|
||||||
|
|
||||||
|
21
yaxwtui.Gtk3/Makefile
Normal file
21
yaxwtui.Gtk3/Makefile
Normal file
@ -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
|
||||||
|
|
Reference in New Issue
Block a user