pychecker (for flymake, specifically)
modify install.rb to special case ~/bin
This commit is contained in:
parent
fdb9d238bc
commit
18f00d485a
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|
|
||||
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
|
||||
`ln -vsf #{File.expand_path file} #{target}`
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user