Skip to content

Instantly share code, notes, and snippets.

@jc00ke
Last active December 10, 2015 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jc00ke/4496766 to your computer and use it in GitHub Desktop.
Save jc00ke/4496766 to your computer and use it in GitHub Desktop.
Stone specific rake tasks
$> rake stone:create[foobar]
$> rake -vT
rake build:clean # Remove /home/jesse/projects/maglev/fileintmp directory
rake build:clobber # call clean, then remove bin/extent0*
rake build:filein # Load the files in /home/jesse/projects/maglev/src/smalltalk into the image (starts and stops stone)
rake build:image # Create a new maglev image and install in /home/jesse/projects/maglev/bin/extent0.ruby.dbf
rake build:maglev # Create a new MagLev image and install in /home/jesse/projects/maglev/bin/extent0.ruby.dbf. Create new maglev stone if it doesn't exist
rake build:packages # Load the files in /home/jesse/projects/maglev/src/packages into the image (starts and stops stone)
rake clean # Remove any temporary products.
rake clobber # Remove any generated file.
rake clobber_rdoc # Remove RDoc HTML files
rake dev:clean-gems # Clean up after a test install of rubygems
rake dev:installprims # Load the primitives into the default image.
rake dev:p-tests[stone_name] # Run the persistence tests on stone_name (default ptest).
rake dev:p-tests-STONENAME # Run persistence tests on stone per STONENAME env var
rake dev:passing # Run the passing specs
rake dev:pristinerails # Run maglev-gem pristine on rails gems
rake dev:quick-p-tests # Run p-tests on maglev
rake dev:smoke # Run the passing specs and the vm tests
rake dev:tags # Create some TAGS files
rake dev:topaz # Run topaz (use rlwrap, if available)
##################################
rake foobar:input_file[file] # Read a GemStone Topaz .gs file or .rb file into server. Does a commit.
rake foobar:reload # Destroy the "foobar" repository then load a fresh one
rake foobar:reload_prims # [DEV] Reset the ruby context in "foobar" then reload primitives
rake foobar:restart # Stop then start the "foobar" server
rake foobar:restore_snapshot # Restore the "foobar" repository from its previous snapshot
rake foobar:start[netldiname] # Start the "foobar" server.
rake foobar:status # Report status of the "foobar" server
rake foobar:stop # Stop the "foobar" server
rake foobar:take_snapshot # Stop the "foobar" server then make a backup copy of its repository
rake foobar:webtools # Run the GemStone/S Webtools
##################################
rake kill[stone] # Kill the named stone
rake killkill[stone] # Kill -9 the named stone
rake maglev:input_file[file] # Read a GemStone Topaz .gs file or .rb file into server. Does a commit.
rake maglev:reload # Destroy the "maglev" repository then load a fresh one
rake maglev:reload_prims # [DEV] Reset the ruby context in "maglev" then reload primitives
rake maglev:restart # Stop then start the "maglev" server
rake maglev:restore_snapshot # Restore the "maglev" repository from its previous snapshot
rake maglev:start[netldiname] # Start the "maglev" server.
rake maglev:status # Report status of the "maglev" server
rake maglev:stop # Stop the "maglev" server
rake maglev:take_snapshot # Stop the "maglev" server then make a backup copy of its repository
rake maglev:webtools # Run the GemStone/S Webtools
rake netldi:start # Start NetLDI process
rake netldi:stop # Stop NetLDI process
rake rdoc # Build RDoc HTML files
rake rerdoc # Rebuild RDoc HTML files
rake spec:ci # Run ci specs: there should be NO failures and NO errors.
rake spec:ci_report # Run ci specs, generating a rubyspec_report.xml with JUnit output.
rake spec:retag # Retag the ci files (works only with hacked mspec-tag.rb)
rake spec:run[spec] # Run one rubyspec file: rake spec:run[spec/rubyspec/.../foo_spec.rb]
rake spec:tag[file] # Run the named specs and tag the failing ones
rake spec:untag # Run failing specs and untag ones that now pass
rake squeak # Run a squeak image
rake status # Show status of all stones
rake stone:all[task_name] # Invoke a task on all MagLev servers
rake stone:create[server_name] # Create a new MagLev server and repository
rake stone:destroy[server_name] # Destroy an existing MagLev server and repository
rake stone:list # List MagLev servers managed by this Rakefile
rake stwrappers[force] # Create .rb files for each smalltalk class (lib/ruby/site_ruby/1.8/smalltalk/*)
rake tests:examples # Run tests on the examples directory
rake tests:fav_gems_install # Test that many of our favorite rubygems install
rake tests:sinatra # Run the sinatra gem tests under MagLev
rake tests:vmunit # Run tests in $MAGLEV_HOME/src/test/vmunit.conf (was dev:vm-tests)
rake tests:vmunit2 # Run tests in $MAGLEV_HOME/src/test/vmunit2.conf
rake build:clean # Remove /home/jesse/projects/maglev/fileintmp directory
rake build:clobber # call clean, then remove bin/extent0*
rake build:filein # Load the files in /home/jesse/projects/maglev/src/smalltalk into the image (starts and stops stone)
rake build:image # Create a new maglev image and install in /home/jesse/projects/maglev/bin/extent0.ruby.dbf
rake build:maglev # Create a new MagLev image and install in /home/jesse/projects/maglev/bin/extent0.ruby.dbf. Create new maglev stone if it doesn't exist
rake build:packages # Load the files in /home/jesse/projects/maglev/src/packages into the image (starts and stops stone)
rake clean # Remove any temporary products.
rake clobber # Remove any generated file.
rake clobber_rdoc # Remove RDoc HTML files
rake dev:clean-gems # Clean up after a test install of rubygems
rake dev:installprims # Load the primitives into the default image.
rake dev:p-tests[stone_name] # Run the persistence tests on stone_name (default ptest).
rake dev:p-tests-STONENAME # Run persistence tests on stone per STONENAME env var
rake dev:passing # Run the passing specs
rake dev:pristinerails # Run maglev-gem pristine on rails gems
rake dev:quick-p-tests # Run p-tests on maglev
rake dev:smoke # Run the passing specs and the vm tests
rake dev:tags # Create some TAGS files
rake dev:topaz # Run topaz (use rlwrap, if available)
rake kill[stone] # Kill the named stone
rake killkill[stone] # Kill -9 the named stone
##################################
rake maglev:input_file[file] # Read a GemStone Topaz .gs file or .rb file into server. Does a commit.
rake maglev:reload # Destroy the "maglev" repository then load a fresh one
rake maglev:reload_prims # [DEV] Reset the ruby context in "maglev" then reload primitives
rake maglev:restart # Stop then start the "maglev" server
rake maglev:restore_snapshot # Restore the "maglev" repository from its previous snapshot
rake maglev:start[netldiname] # Start the "maglev" server.
rake maglev:status # Report status of the "maglev" server
rake maglev:stop # Stop the "maglev" server
rake maglev:take_snapshot # Stop the "maglev" server then make a backup copy of its repository
rake maglev:webtools # Run the GemStone/S Webtools
##################################
rake netldi:start # Start NetLDI process
rake netldi:stop # Stop NetLDI process
rake rdoc # Build RDoc HTML files
rake rerdoc # Rebuild RDoc HTML files
rake spec:ci # Run ci specs: there should be NO failures and NO errors.
rake spec:ci_report # Run ci specs, generating a rubyspec_report.xml with JUnit output.
rake spec:retag # Retag the ci files (works only with hacked mspec-tag.rb)
rake spec:run[spec] # Run one rubyspec file: rake spec:run[spec/rubyspec/.../foo_spec.rb]
rake spec:tag[file] # Run the named specs and tag the failing ones
rake spec:untag # Run failing specs and untag ones that now pass
rake squeak # Run a squeak image
rake status # Show status of all stones
rake stone:all[task_name] # Invoke a task on all MagLev servers
##################################
rake stone:create[server_name] # Create a new MagLev server and repository
rake stone:destroy[server_name] # Destroy an existing MagLev server and repository
##################################
rake stone:list # List MagLev servers managed by this Rakefile
rake stwrappers[force] # Create .rb files for each smalltalk class (lib/ruby/site_ruby/1.8/smalltalk/*)
rake tests:examples # Run tests on the examples directory
rake tests:fav_gems_install # Test that many of our favorite rubygems install
rake tests:sinatra # Run the sinatra gem tests under MagLev
rake tests:vmunit # Run tests in $MAGLEV_HOME/src/test/vmunit.conf (was dev:vm-tests)
rake tests:vmunit2 # Run tests in $MAGLEV_HOME/src/test/vmunit2.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment