Skip to content

Commit

Permalink
[ci] refs #1 - Delete .d .swp .swo & .orig files in make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
olemis committed Mar 4, 2019
1 parent 3240ca1 commit 61c786a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
*.orig
.DS_Store

**/*.d
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ PROTOB_MSG_C = $(patsubst %,$(PROTOB_C_DIR)/%,$(notdir $(PROTOB_MSG_FILES:.p
all: build-go build-js build-c build-py ## Generate protobuf classes for all languages

clean: clean-go clean-js clean-c clean-py ## Delete temporary and output files
rm -rf \
$$( find . -name '*.swp' ) \
$$( find . -name '*.swo' ) \
$$( find . -name '*.orig' )

install-protoc: /usr/local/bin/protoc

Expand Down Expand Up @@ -113,6 +117,7 @@ clean-c: clean-py
rm -rf $(PROTOB_C_DIR)/messages_map.h \
$$( find $(PROTOB_C_DIR) -name '*.pb.c' ) \
$$( find $(PROTOB_C_DIR) -name '*.pb.h' ) \
$$( find $(PROTOB_C_DIR) -name '*.d' ) \
$$( find $(PROTOB_C_DIR) -name '*.i' ) \
$$( find $(PROTOB_C_DIR) -name '*.s' ) \
$$( find $(PROTOB_C_DIR) -name '*.o' )
Expand Down

0 comments on commit 61c786a

Please sign in to comment.