pychecker (for flymake, specifically)
modify install.rb to special case ~/bin
This commit is contained in:
		
							
								
								
									
										3
									
								
								bin/pychecker.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								bin/pychecker.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | #!/bin/bash | ||||||
|  | pyflakes $1 | ||||||
|  | pep8 --repeat $1 | ||||||
| @@ -6,7 +6,8 @@ home = File.expand_path('~') | |||||||
|  |  | ||||||
| Dir['*'].each do |file| | Dir['*'].each do |file| | ||||||
|   next if file =~ /install/ || file =~ /README/ |   next if file =~ /install/ || file =~ /README/ | ||||||
|   target = File.join(home, ".#{file}") |   target_name = file == 'bin' ? file : ".#{file}" | ||||||
|  |   target = File.join(home, target_name) | ||||||
|   unless File.exist? target |   unless File.exist? target | ||||||
|     `ln -vsf #{File.expand_path file} #{target}` |     `ln -vsf #{File.expand_path file} #{target}` | ||||||
|   else |   else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user