Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions _gem/lib/go_gem/rake_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def ext_dir
private

def define_go_test_task
desc "Run #{go_bin_path} test"
desc "Run `#{go_bin_path} test`"
task(:test) do
within_target_dir do
sh RakeTask.build_env_vars, "#{go_bin_path} test #{go_test_args} ./..."
Expand All @@ -143,7 +143,7 @@ def define_go_test_task
end

def define_go_testrace_task
desc "Run #{go_bin_path} test -race"
desc "Run `#{go_bin_path} test -race`"
task(:testrace) do
within_target_dir do
sh RakeTask.build_env_vars, "#{go_bin_path} test #{go_test_args} -race ./..."
Expand All @@ -152,7 +152,7 @@ def define_go_testrace_task
end

def define_go_fmt_task
desc "Run #{go_bin_path} fmt"
desc "Run `#{go_bin_path} fmt`"
task(:fmt) do
within_target_dir do
sh "#{go_bin_path} fmt ./..."
Expand Down Expand Up @@ -182,7 +182,7 @@ def define_go_build_tag_task
end

def define_go_mod_tidy_task
desc "Run #{go_bin_path} mod tidy"
desc "Run `#{go_bin_path} mod tidy`"
task(:mod_tidy) do
within_target_dir do
sh "#{go_bin_path} mod tidy"
Expand Down
2 changes: 1 addition & 1 deletion _tasks/go.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go_task = GoGem::RakeTask.new("") do |t|
end

namespace :go do
desc "Run golangci-lint"
desc "Run `golangci-lint`"
task :lint do
go_task.within_target_dir do
sh "which golangci-lint" do |ok, _|
Expand Down
Loading