Jason Perkins avatar Jason Perkins committed 8f58c46

Removed block-commented code that was showing up in release builds

Comments (0)

Files changed (1)

src/base/project.lua

 				end
 			end
 		end
-		
---[[		
-		for pattern, replacement in pairs(prj.vpaths) do
-			-- does the filename match this vpath pattern?
-			local i = vpath:find(path.wildcards(pattern))
-			if i == 1 then				
-				-- yes; trim the leading portion of the path
-				i = pattern:find("*", 1, true) or (pattern:len() + 1)
-				local leaf = vpath:sub(i)
-				if leaf:startswith("/") then
-					leaf = leaf:sub(2)
-				end
 				
-				-- check for (and remove) stars in the replacement pattern.
-				-- If there are none, then trim all path info from the leaf
-				-- and use just the filename in the replacement (stars should
-				-- really only appear at the end; I'm cheating here)
-				local stem = ""
-				if replacement:len() > 0 then
-					stem, stars = replacement:gsub("%*", "")
-					if stars == 0 then
-						leaf = path.getname(leaf)
-					end
-				end
-				
-				vpath = path.join(stem, leaf)
-			end
-		end
---]]
-		
 		-- remove any dot ("./", "../") patterns from the start of the path
 		local changed
 		repeat
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.