summaryrefslogtreecommitdiffstats
path: root/tasks/ffi.rake
blob: 7ab3ffbaccb35a1aa59dbf93c91099a5b9c2bdaa (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 'ruby ./tools/genruby.rb'
    end
end
#
desc 'Alias to ffi:run'
task :ffi => 'ffi:run'
#
# EOF