-
Notifications
You must be signed in to change notification settings - Fork 1
/
rock.rb
34 lines (31 loc) · 1.38 KB
/
rock.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
def rock_autoproj_init
#
# Orocos Specific ignore rules
#
# Ignore log files generated from the orocos/orogen components
ignore(/\.log$/, /\.ior$/, /\.idx$/)
# Ignore all text files except CMakeLists.txt
ignore(/(^|\/)(?!CMakeLists)[^\/]+\.txt$/)
# We don't care about the manifest being changed, as autoproj *will* take
# dependency changes into account
ignore(/manifest\.xml$/)
# Ignore vim swap files
ignore(/\.sw?$/)
# Ignore the numerous backup files
ignore(/~$/)
configuration_option 'ROCK_FLAVOR', 'string',
:default => 'next',
:possible_values => ['next', 'master'],
:doc => [
"Which flavor of Rock do you want to use ?",
"The 'stable' flavor is not updated often, but will contain well-tested code. It is not available yet",
"The 'next' flavor is updated more often, and might contain less tested code",
"it is updated from 'master' to test new features before they get pushed in 'stable'",
"Finally, 'master' is where the development takes place. It should generally be in",
"a good state, but will break every once in a while",
"",
"See http://rock-robotics.org/startup/releases.html for more information"]
if ENV['ROCK_FORCE_FLAVOR']
Autoproj.change_option('ROCK_FLAVOR', ENV['ROCK_FORCE_FLAVOR'])
end
end