summaryrefslogtreecommitdiffstats
path: root/tasks/ffi.rake
blob: 0ade66994c3b3ce5c3449ad2d9605b7d3fb33249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- coding: UTF-8 -*-
#
namespace :ffi do
    #
    desc "extract api out of enlightenment headers, then generate bindings"
    task :run => [ :api, :ruby ]
    #
    desc "extract api out of enlightenment headers"
    task :api do
        sh './tools/extract-api.sh'
    end
    #
    desc "generate ffi bindings"
    task :ruby do
        sh './tools/genruby.rb'
    end
end
#
desc 'Alias to ffi:run'
task :ffi => 'ffi:run'
#
# EOF