Permalink
Browse files

fix gitignore to avoid ignoring subfolders. add missing lua file

  • Loading branch information...
1 parent ce43b09 commit 09e331a76b685d19bb3c6e3cf3abc6e8ddeda3e5 @emiltin emiltin committed Dec 20, 2012
Showing with 26 additions and 13 deletions.
  1. +13 −13 .gitignore
  2. +13 −0 profiles/lib/access.lua
View
@@ -54,30 +54,30 @@ 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
/nohup.out
# Sandbox folder #
###################
-sandbox/
+/sandbox/
-test/profile.lua
+/test/profile.lua
@@ -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

0 comments on commit 09e331a

Please sign in to comment.