Sha256: bc5339edd3e1d67250d80915f4780bc545f8ba3f0a02213b986da34201904b79
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
# frozen_string_literal: true require 'bundler/gem_tasks' require 'rake/testtask' Rake::TestTask.new(:test) do |t| t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/**/test_*.rb'] end task default: :test task :re_build do FileUtils.copy_entry('vendor/assets/src/js/', 'test/test_app/src/js/') FileUtils.copy_entry('vendor/assets/src/css/', 'test/test_app/src/css/') FileUtils.copy_entry('vendor/assets/src/medias/', 'test/test_app/src/medias/') `gem cleanup atome;yes | gem uninstall atome ;gem build atome.gemspec;gem install atome` `cd test/test_app;atome update` puts 'solution re-build!' # `cd test/test_app;atome update;atome run` end task :test_server do FileUtils.copy_entry('vendor/assets/src/js/', 'test/test_app/src/js/') FileUtils.copy_entry('vendor/assets/src/css/', 'test/test_app/src/css/') FileUtils.copy_entry('vendor/assets/src/medias/', 'test/test_app/src/medias/') `gem cleanup atome;yes | gem uninstall atome ;gem build atome.gemspec;gem install atome` `cd test/test_app;atome update;atome run server` end task :run_server do `cd test/test_app;atome run server guard` end task :refresh do FileUtils.copy_entry('vendor/assets/src/medias/rubies/examples/', 'test/test_app/src/medias/rubies/examples/') `cd test/test_app;atome build` puts "refreshed!" end task :open_browser do `open http://127.0.0.1:1430/` end task :run_example_server do FileUtils.copy_entry('vendor/assets/src/medias/rubies/examples/', 'test/test_app/src/medias/rubies/examples/') `cd test/test_app;atome run server ` end task :taurification do `cd test/test_app;cargo tauri dev ` end task default: :test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.2.8 | Rakefile |