Skip to content

Commit

Permalink
GH-35489: [MATLAB] Add CMake build directory to MATLAB .gitignore (
Browse files Browse the repository at this point in the history
…#35493)

### Rationale for this change

A typical name that is used for the build folder when building CMake projects is `build`.

The documentation for building the MATLAB interface [mentions using `build` as the build directory name](https://github.com/apache/arrow/tree/main/matlab#build). It would be helpful if `build/` was added to the MATLAB interface `.gitignore` so that the build directory doesn't show up in the list of untracked files with `git`.

### What changes are included in this PR?

Added `build` to the MATLAB `.gitignore`.

### Are these changes tested?

Manually verified on Debian 11 that the `build` folder doesn't show up as untracked with `git`.

### Are there any user-facing changes?

No.
* Closes: #35489

Authored-by: Kevin Gurney <kgurney@mathworks.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kevingurney committed May 8, 2023
1 parent 5b8eb64 commit ad43544
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions matlab/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# CMake files
CMakeFiles/*
CMakeCache.txt
build/

# MEX files
*.mex*

0 comments on commit ad43544

Please sign in to comment.