release-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change
on this file since f449096 was
42ad917,
checked in by David Benjamin <davidben@mit.edu>, 15 years ago
|
Add perl_tester to run perl in barnowl environment
Main function shameless borrowed from perldoc perlembed.
Signed-off-by: David Benjamin <davidben@mit.edu>
|
-
Property mode set to
100644
|
File size:
487 bytes
|
Line | |
---|
1 | use File::Basename; |
---|
2 | use lib (dirname($0) . '/../perl/lib'); |
---|
3 | |
---|
4 | package BarnOwl; |
---|
5 | use strict; |
---|
6 | use warnings; |
---|
7 | use Carp; |
---|
8 | |
---|
9 | sub get_data_dir {"."} |
---|
10 | sub get_config_dir {"."} |
---|
11 | sub create_style {} |
---|
12 | |
---|
13 | sub debug { |
---|
14 | warn "[DEBUG] ", shift, "\n" if $ENV{TEST_VERBOSE}; |
---|
15 | } |
---|
16 | |
---|
17 | sub BarnOwl::Internal::new_command {} |
---|
18 | sub BarnOwl::Internal::new_variable_bool {} |
---|
19 | sub BarnOwl::Internal::new_variable_int {} |
---|
20 | sub BarnOwl::Internal::new_variable_string {} |
---|
21 | sub BarnOwl::Editwin::save_excursion(&) {} |
---|
22 | |
---|
23 | use BarnOwl; |
---|
24 | |
---|
25 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.