Skip to content

Commit 11b7494

Browse files
fangyi-zhouwenkokke
authored andcommitted
Fix Guardfile
1 parent 3a136bf commit 11b7494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Guardfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
require 'fileutils'
22

33
guard :shell do
4-
watch(%r{^.+\.(lagda)$}) do |m|
4+
watch(%r{^(.+)\.lagda\.md$}) do |m|
55
src = m[0]
6-
out = "#{File.dirname(src).sub('src','out')}/#{File.basename(src,'.*')}.md"
6+
out = "#{File.dirname(src).sub('src','out')}/#{File.basename(src,'.lagda.md')}.md"
77
`make #{out}` unless File.basename(src).start_with?('.#')
88
end
99
end

0 commit comments

Comments
 (0)