Added uninstall task for Windows [skip ci]

This commit is contained in:
Andrew Kane
2022-12-23 09:18:25 -08:00
parent e2f33dfdba
commit 6d4ac36d50
2 changed files with 6 additions and 0 deletions

View File

@@ -58,4 +58,5 @@ jobs:
nmake /NOLOGO /F Makefile.win install
nmake /NOLOGO /F Makefile.win installcheck
nmake /NOLOGO /F Makefile.win clean
nmake /NOLOGO /F Makefile.win uninstall
shell: cmd

View File

@@ -55,6 +55,11 @@ install:
installcheck:
"$(BINDIR)\pg_regress" --bindir="$(BINDIR)" $(REGRESS_OPTS) $(REGRESS)
uninstall:
rm -f "$(PKGLIBDIR)\$(SHLIB)"
rm -f "$(SHAREDIR)\extension\$(EXTENSION).control"
rm -f "$(SHAREDIR)\extension\vector--*.sql"
clean:
rm -f $(SHLIB) $(EXTENSION).lib $(EXTENSION).exp
rm -f $(OBJS)