Skip to content

Commit e4de78e

Browse files
rake format
1 parent 69b48ba commit e4de78e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

lib/ruby_wasm/build_system/product/ruby_source.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def define_task
3838
fetch
3939
end
4040
file configure_file => [src_dir] do
41-
sh "ruby tool/downloader.rb -d tool -e gnu config.guess config.sub", chdir: src_dir
41+
sh "ruby tool/downloader.rb -d tool -e gnu config.guess config.sub",
42+
chdir: src_dir
4243
sh "./autogen.sh", chdir: src_dir
4344
end
4445
end

lib/ruby_wasm/build_system/toolchain.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ def fetch_task
164164
end
165165

166166
if @need_fetch_binaryen
167-
binaryen_tarball = File.expand_path("../binaryen.tar.gz", @binaryen_path)
167+
binaryen_tarball =
168+
File.expand_path("../binaryen.tar.gz", @binaryen_path)
168169
file binaryen_tarball do
169170
mkdir_p File.dirname(binaryen_tarball)
170171
sh "curl -L -o #{binaryen_tarball} #{self.binaryen_download_url(@binaryen_version)}"

lib/ruby_wasm/rake_task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def initialize(
7575
end
7676

7777
def hexdigest
78-
require 'digest'
78+
require "digest"
7979
digest = Digest::SHA256.new
8080
digest << @source.name
8181
digest << @build_dir

0 commit comments

Comments
 (0)