public
Description: Tool for building and packaging standalone statically compiled ruby appliations
Homepage: http://copiousfreetime.rubyforge.org/crate
Clone URL: git://github.com/copiousfreetime/crate.git
crate / workflow.taskpaper
100644 48 lines (37 sloc) 0.894 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Project:
    download common target dependencies and verify:
    build_targets:
        - linux ruby
            - for ruby X.Y
        - mac ruby
            - for ruby X.Y
        - win ruby
            - for ruby X.Y
    build_app:
        - generate new .c .h
        - compile against static ruby
    pack( dir ):
        - amalgalite
        - stdlib
        - gems
        - app code( its just another gem )
        - app code( vendor, app dir )
   
    pack( filesystem ):
        
 
 
    
Pack( dir, db ):
    - look for every item in the dir that is a ruby file
    - pack it by dirname into the db in a table
 
Prep(something):
    - download
    - verify
    - unpack
    - patch
 
ruby dep Downloads:
    - zlib
    - openssl
 
each Target:
    - Prep( target )
    - foreach gem
        - prep( gem )
        - integrate - append to setup,
    - build
    - install ( to destdir )