Skip to content

Instantly share code, notes, and snippets.

@c4milo
Created August 12, 2010 13:59
Show Gist options
  • Save c4milo/521002 to your computer and use it in GitHub Desktop.
Save c4milo/521002 to your computer and use it in GitHub Desktop.
0. (bootstrap) write bash script to download and install nodejs and dependency addons:
node-jake for now. (using npm with version number of each addon)
(it could be based on nDistro)
The idea is to create a bespin-dependencies package and register it with npm.
This package will contain specific versions of:
jsdoc, closure-compiler, tiki, core_test and jquery.
1. write tests for Jakefile tasks using core_test
2. write Jakefile
a. implement dist task.
Given that the bootstrap already downloaded dependencies then we can:
aa. combine js, css
aaa. compile source (using closure-compiler)
aaaa. compress js, css
aaaaa. run doc task
aaaaaa. create distributable version of bespin for titanium, xulrunner,
adobe air, etc.
with precompiled nodejs for linux, unix and windows. (32, 64 bits)
b. implement start task: launch (browser|titanium|xulrunner|adobe air) with bespin
c. implement test task to run jakefile tests, server and client tests
d. implement doc tasks
3. rewrite plugins/boot/bespin/plugins.js to support the same plugin system
in both, client and server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment