fix gitignore to avoid ignoring subfolders. add missing lua file
This commit is contained in:
parent
ce43b09991
commit
09e331a76b
26
.gitignore
vendored
26
.gitignore
vendored
@ -54,23 +54,23 @@ stxxl.errlog
|
||||
|
||||
# compiled protobuffers #
|
||||
#########################
|
||||
DataStructures/pbf-proto/*.pb.h
|
||||
DataStructures/pbf-proto/*.pb.cc
|
||||
/DataStructures/pbf-proto/*.pb.h
|
||||
/DataStructures/pbf-proto/*.pb.cc
|
||||
|
||||
# External Libs #
|
||||
#################
|
||||
lib/
|
||||
win/lib
|
||||
/lib/
|
||||
/win/lib
|
||||
|
||||
# Visual Studio Temp + build Files #
|
||||
####################################
|
||||
win/*.user
|
||||
win/*.ncb
|
||||
win/*.suo
|
||||
win/Debug/
|
||||
win/Release/
|
||||
win/bin/
|
||||
win/bin-debug/
|
||||
/win/*.user
|
||||
/win/*.ncb
|
||||
/win/*.suo
|
||||
/win/Debug/
|
||||
/win/Release/
|
||||
/win/bin/
|
||||
/win/bin-debug/
|
||||
/osrm-extract
|
||||
/osrm-routed
|
||||
/osrm-prepare
|
||||
@ -78,6 +78,6 @@ win/bin-debug/
|
||||
|
||||
# Sandbox folder #
|
||||
###################
|
||||
sandbox/
|
||||
/sandbox/
|
||||
|
||||
test/profile.lua
|
||||
/test/profile.lua
|
13
profiles/lib/access.lua
Normal file
13
profiles/lib/access.lua
Normal file
@ -0,0 +1,13 @@
|
||||
local ipairs = ipairs
|
||||
|
||||
module "Access"
|
||||
|
||||
function find_access_tag(source,access_tags_hierachy)
|
||||
for i,v in ipairs(access_tags_hierachy) do
|
||||
local tag = source.tags:Find(v)
|
||||
if tag ~= '' then
|
||||
return tag
|
||||
end
|
||||
end
|
||||
return nil
|
||||
end
|
Loading…
Reference in New Issue
Block a user