diff --git a/LogArea.st b/LogArea.st index 438c1d3..f4702fc 100644 --- a/LogArea.st +++ b/LogArea.st @@ -16,8 +16,6 @@ along with this program. If not, see . " -PackageLoader fileInPackage: #OsmoLogging. - Osmo.LogArea subclass: LogAreaTimer [ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c851331 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ + +GST_PACKAGE = gst-package +GST_CONVERT = gst-convert + +CONVERT_RULES = -r'Osmo.LogManager->LogManager' \ + -r'Osmo.LogArea->LogArea' \ + -r'Osmo.LogLevel->LogLevel' \ + -r'DateTime->DateAndTime' \ + -r'(Duration milliseconds: ``@args1) -> (Duration milliSeconds: ``@args1)' + + +all: + $(GST_PACKAGE) --test package.xml + +convert: + $(GST_CONVERT) $(CONVERT_RULES) -F squeak -f gst \ + -o fileout.st compat_for_pharo.st LogArea.st Dispatcher.st Timer.st Tests.st diff --git a/compat_for_pharo.st b/compat_for_pharo.st new file mode 100644 index 0000000..041a65c --- /dev/null +++ b/compat_for_pharo.st @@ -0,0 +1,16 @@ +"This is to be easily loadable on Pharo 1.4 and up" + +Object extend [ + addToBeFinalized [ + + "No idea how to implement it" + ] +] + +Semaphore extend [ + signals [ + + "Used in our testcase" + ^ excessSignals + ] +]