mirror of
https://github.com/apache/impala.git
synced 2026-01-05 21:00:54 -05:00
I find it useful to have these indexed by cscope. Also, gitignore files generated with cscope -q (inverted index). Change-Id: I8d5bcd34706c40357b94337db4b72dccecdecbd9 Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3910 Reviewed-by: Nong Li <nong@cloudera.com> Tested-by: Daniel Hecht <dhecht@cloudera.com> (cherry picked from commit 66ecea5c0c9212377d314c5312fec07446960325) Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3937 Reviewed-by: Daniel Hecht <dhecht@cloudera.com>
25 lines
800 B
Bash
Executable File
25 lines
800 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright 2012 Cloudera Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
|
|
bin=`dirname "$0"`
|
|
bin=`cd "$bin"; pwd`
|
|
. "$bin"/impala-config.sh
|
|
|
|
# Generate list of files for Cscope to index
|
|
cd $IMPALA_HOME
|
|
find . -regex '.*\.\(cc\|c\|hh\|h\|java\|thrift\|flex\|y\)$' > cscope.files
|
|
|