Sha256: 39d3f7cd94719662dba802bdca34de645a031a5945b311f89d935f12f0dfed46
Contents?: true
Size: 1.07 KB
Versions: 4
Compression:
Stored size: 1.07 KB
Contents
# install_template_path = File.expand_path("../../install/template.rb", __dir__).freeze bin_path = ENV["BUNDLE_BIN"] || "./bin" require 'optparse' namespace :hyperstack do desc "Install Hyperstack in this application" task :install do exec "#{RbConfig.ruby} #{bin_path}/rails g hyperstack:install" end namespace :install do task :default do end task "hotloader" do exec "#{RbConfig.ruby} #{bin_path}/rails g hyperstack:install --hotloader-only" end task "webpack" do exec "#{RbConfig.ruby} #{bin_path}/rails g hyperstack:install --webpack-only" end task "hyper-model" do exec "#{RbConfig.ruby} #{bin_path}/rails g hyperstack:install --hyper-model-only" end task "skip-hotloader" do exec "#{RbConfig.ruby} #{bin_path}/rails g hyperstack:install --skip-hotloader" end task "skip-webpack" do exec "#{RbConfig.ruby} #{bin_path}/rails g hyperstack:install --skip-webpack" end task "skip-hyper-model" do exec "#{RbConfig.ruby} #{bin_path}/rails g hyperstack:install --skip-hyper-model" end end end
Version data entries
4 entries across 4 versions & 1 rubygems