smalltalk
5 January 2011 2:37:23 PM
I'm still working on build automation - the work I did yesterday got me where I wanted to go for BottomFeeder, but that's because all of the scripts existed already. What I need to get to is this:
- Starting from a development image, specify a set of packages and bundles to include in a build
- Have a tool that takes that information and generates a minimal build script
- From there, be able to execute said build script
And that's what I'm working on today. I've got a simple domain model hammered out - I still need to create a UI to live on top of that as a specification tool. But it's progress :)
posted by James Robertson
smalltalk
5 January 2011 7:46:33 AM
posted by James Robertson
smalltalk
4 January 2011 5:33:55 PM
I wanted to move my build script one level further back - meaning, I wanted to have it work like this:
- Fire off an image
- Load all the latest code from Store
- Drop each package/bundle from the image into a build directory
- Fire off a new, clean image, load the parcels, and proceed from there
That way I could ensure that a build actually had the latest code, instead of the latest code I remembered to parcel out - and my build doesn't need any of the Store machinery in it. So, here's the guts of that new script. First, some code to load a package from Store, then dump it out as a parcel:
savePackageBlock := [:name :dir |
| pkg |
pkg := Store.PackageModel allInstances detect: [:each | each name = name].
pkg
saveAsParcel: (dir asFilename construct: name)
saveStructure: true
saveLinks: true].
(Store.Package newestVersionWithName: 'MyCounter') loadSrc.
savePackageBlock value: 'MyCounter' value: 'buildTest'.
That's easily built up to more packages. Then I just add this new script to what I last posted on, and bam - I go from a clean image and an empty build directory to a full build directory and a clean build. Pretty nice :)
posted by James Robertson
smalltalk
3 January 2011 6:45:14 AM
posted by James Robertson
smalltalk
2 January 2011 11:05:30 AM
posted by James Robertson
smalltalk
30 December 2010 10:49:39 PM
Eliot Miranda has released new Cog VMs - I'm quoting an email to the Squeak list below:
I've released a new version of Cog that has a substantially improved code generator along the lines of Peter Deutsch's HPS (VisualWorks) and various of Ian Piumarta's VMs. These all use a simple tecnique to identify constant references in bytecode and to support a register-based calling convention. While this does produce faster code it tends to accelerate low-level code much more than high-level code
You can download them here - and follow Eliot on his blog here.
Technorati Tags:
squeak, cog
posted by James Robertson
smalltalk
30 December 2010 6:22:07 PM
Sean DeNegris continues to do some cool work in Squeak:
I have a working proof-of-concept to play any video file that QuickTime can handle in Squeak Smalltalk (or Pharo with slight modifications).
Technorati Tags:
video, quicktime, squeak
posted by James Robertson
smalltalk
30 December 2010 9:35:14 AM
There's an interface to Tropo from Pharo and Squeak:
With tropo.com you can have users interact with your smalltalk application using their telephones or SMS messages.
Technorati Tags:
pharo, squeak, tropo, phone, sms
posted by James Robertson
smalltalk
29 December 2010 3:11:26 PM
posted by James Robertson
smalltalk
28 December 2010 1:14:25 PM
posted by James Robertson