Verified Commit 5aafa980 authored by nagayama15's avatar nagayama15

udpate embed.rb

parent d285ea5f
......@@ -29,6 +29,8 @@ METHODS = [
{:name => "operand-swap", :abbr => "op"},
]
watermark = "N7AStlK2gioIqeRi"
def copy(file, out)
FileUtils.copy(file, out, {:verbose => true})
end
......@@ -48,7 +50,6 @@ end
METHODS.each do |method|
WASM_BINARIES.each do |id, file|
watermark = "TEST"
dir = Pathname(OUTPUT_DIRS[id])
out = dir + Pathname(file).basename.sub(".wasm", "-#{method[:abbr]}-#{watermark}.wasm")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment