mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-07 13:10:56 +08:00
Added clean task for Windows
This commit is contained in:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@@ -57,4 +57,5 @@ jobs:
|
|||||||
nmake /NOLOGO /F Makefile.win
|
nmake /NOLOGO /F Makefile.win
|
||||||
nmake /NOLOGO /F Makefile.win install
|
nmake /NOLOGO /F Makefile.win install
|
||||||
nmake /NOLOGO /F Makefile.win installcheck
|
nmake /NOLOGO /F Makefile.win installcheck
|
||||||
|
nmake /NOLOGO /F Makefile.win clean
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -6,3 +6,7 @@ regression.*
|
|||||||
*.o
|
*.o
|
||||||
*.so
|
*.so
|
||||||
*.bc
|
*.bc
|
||||||
|
*.dll
|
||||||
|
*.obj
|
||||||
|
*.lib
|
||||||
|
*.exp
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ CFLAGS = /nologo /I"$(INCLUDEDIR_SERVER)\port\win32_msvc" /I"$(INCLUDEDIR_SERVER
|
|||||||
|
|
||||||
CFLAGS = $(CFLAGS) $(PG_CFLAGS)
|
CFLAGS = $(CFLAGS) $(PG_CFLAGS)
|
||||||
|
|
||||||
SHLIB = src\$(EXTENSION).dll
|
SHLIB = $(EXTENSION).dll
|
||||||
|
|
||||||
LIBS = "$(LIBDIR)\postgres.lib"
|
LIBS = "$(LIBDIR)\postgres.lib"
|
||||||
|
|
||||||
@@ -54,3 +54,9 @@ install:
|
|||||||
|
|
||||||
installcheck:
|
installcheck:
|
||||||
"$(BINDIR)\pg_regress" --bindir="$(BINDIR)" $(REGRESS_OPTS) $(REGRESS)
|
"$(BINDIR)\pg_regress" --bindir="$(BINDIR)" $(REGRESS_OPTS) $(REGRESS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(SHLIB) $(EXTENSION).lib $(EXTENSION).exp
|
||||||
|
rm -f $(OBJS)
|
||||||
|
rm -rf sql\$(EXTENSION)--$(EXTVERSION).sql
|
||||||
|
rm -rf results regression.diffs regression.out tmp_check tmp_check_iso log output_iso
|
||||||
|
|||||||
Reference in New Issue
Block a user