Przeglądaj źródła

more pedantry

tags/0.3.0
Jan Lehnardt 16 lat temu
rodzic
commit
86ed681de7
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      Rakefile

+ 2
- 1
Rakefile Wyświetl plik

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


# extra # extra
if 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 end


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


Ładowanie…
Anuluj
Zapisz