File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed
Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change 3535OUT_FILES := build/Release/queryparser.node $(wildcard build/* )
3636endif
3737
38- build : $(OUT_FILES )
39-
40- build-cache : $(LIBPG_QUERY_ARCHIVE ) $(LIBPG_QUERY_HEADER )
41-
42- rebuild : clean build
43-
44- rebuild-cache : clean-cache build-cache
45-
46- clean :
47- -@ rm -r $(OUT_FILES ) > /dev/null 2>&1
48-
49- clean-cache :
50- -@ rm -rf $(LIBPG_QUERY_DIR )
51-
5238# Clone libpg_query source (lives in CACHE_DIR)
5339$(LIBPG_QUERY_DIR ) :
5440 mkdir -p $(CACHE_DIR )
8773 yarn rebuild
8874endif
8975
76+ # Commands
77+ build : $(OUT_FILES )
78+
79+ build-cache : $(LIBPG_QUERY_ARCHIVE ) $(LIBPG_QUERY_HEADER )
80+
81+ rebuild : clean build
82+
83+ rebuild-cache : clean-cache build-cache
84+
85+ clean :
86+ -@ rm -r $(OUT_FILES ) > /dev/null 2>&1
87+
88+ clean-cache :
89+ -@ rm -rf $(LIBPG_QUERY_DIR )
90+
9091.PHONY : build build-cache rebuild rebuild-cache clean clean-cache
You can’t perform that action at this time.
0 commit comments