Skip to content
This repository
Browse code

snippet to make a wukong script run itself

  • Loading branch information...
commit fdcf56186fd164f4d5ca1e0cc1ba70c3c9ffa34d 1 parent d908490
Philip (flip) Kromer mrflip authored

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. +6 0 TODO.textile
6 TODO.textile
Source Rendered
@@ -3,3 +3,9 @@
3 3 ** We should be able to specify comma *or* space separated paths; the last
4 4 space-separated path in Settings.rest becomes the output file, the others are
5 5 used as the input_file list.
  6 +
  7 + at_exit do
  8 + if $!.nil? && $0 == Goliath::Application.app_file
  9 + Application.run!
  10 + end
  11 + end

0 comments on commit fdcf561

Please sign in to comment.
Something went wrong with that request. Please try again.