forked from samhocevar/emoji.wpf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
18 lines (13 loc) · 592 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Requirements:
# - Visual Studio (ensure devenv.exe is in %PATH%)
# - NuGet (ensure nuget.exe is in %PATH%)
#VERSION = $(shell sed -ne 's/.*<ApplicationVersion>\([^<]*\).*/\1/p' build.config)
CONFIG = Release
VSWHERE = "${ProgramFiles(x86)}/Microsoft Visual Studio/Installer/vswhere.exe"
DEVENV = "$(shell $(VSWHERE) | sed -ne 's/^productPath: //p' | sed 's/devenv.exe/devenv.com/' | head -n 1)"
all:
$(DEVENV) Emoji.Wpf.sln //rebuild $(CONFIG)
nuget pack Emoji.Wpf/Emoji.Wpf.csproj -Properties Configuration=Release
clean:
$(DEVENV) Emoji.Wpf.sln //clean $(CONFIG)
rm -f *.nupkg