Sha256: 84334f94aa74f08a3434ae8134b5357eab429036e4a1ef142de6d9cabc862906

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

# Check if nodejs had installed
%w[yarn node].each do |app|
  if `which #{app}`.blank?
    say("requires to install #{app}", :red)
    exit!
  end
end

node_version = `node -v`.scan(/[\d\.]+/).first
if node_version.to_f < 6.4
  say("requires Node.js >= v6.4 and you are using #{node_version}.", :red)
  exit!
end


@install_devise = yes?("Do you want to install devise?")

@devise_modal_name = ask("What is devise modal name[user]?")

@install_rubocop = yes?("Do you want to add rubocop?")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
siracha-0.1.1 lib/siracha/before_build.rb