Ver código fonte

more pedantry

tags/0.3.0
Jan Lehnardt 16 anos atrás
pai
commit
86ed681de7
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      Rakefile

+ 2
- 1
Rakefile Ver arquivo

@@ -31,7 +31,8 @@ def templated_build(name, opts={})

# extra
if opts[:extra]
sh "cat #{source}/#{opts[:extra]} | sed -e 's/{{version}}/#{version}/' > #{opts[:location]}/#{opts[:extra]}"
sh "cat #{source}/#{opts[:extra]} | sed -e 's/{{version}}/#{version}/' \
> #{opts[:location]}/#{opts[:extra]}"
end

puts "Done, see #{opts[:location] || '.'}/#{target_js}"


Carregando…
Cancelar
Salvar