Sha256: 9c4d5cb8c7a34be8c957bd072f62fd381393fe925a2a96aae88c030051dae46e

Contents?: true

Size: 323 Bytes

Versions: 8

Compression:

Stored size: 323 Bytes

Contents

require "rake"

module Peppermint
end

task :"rust:deps" do
  sh "command -v cargo || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" \
  if File.file? "Cargo.toml"
end

task :"rust:fmt" do
  sh "cargo fmt" if File.file? "Cargo.toml"
end

task :"rust:fix" do
  sh "cargo fix" if File.file? "Cargo.toml"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
peppermint-0.1.17 lib/peppermint/rake/rust.rb
peppermint-0.1.16 lib/peppermint/rake/rust.rb
peppermint-0.1.15 lib/peppermint/rake/rust.rb
peppermint-0.1.14 lib/peppermint/rake/rust.rb
peppermint-0.1.13 lib/peppermint/rake/rust.rb
peppermint-0.1.12 lib/peppermint/rake/rust.rb
peppermint-0.1.11 lib/peppermint/rake/rust.rb
peppermint-0.1.10 lib/peppermint/rake/rust.rb