Skip to content

Commit

Permalink
#341 Fix missing build system in installation
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed Nov 1, 2015
1 parent 7bda8b6 commit 534c0e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/corto/lang/rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ TARGET = 'corto'
LIB = ['rt', 'dl', 'm']
CFLAGS ||= ["-Wunused-parameter"]

task :collect do
buildPath = "#{ENV['HOME']}/.corto/pack/lib/corto/#{VERSION}/build"
sh "mkdir -p #{buildPath}"
sh "cp #{ENV['CORTO_BUILD']}/* #{buildPath}/"
end

require "#{ENV['CORTO_BUILD']}/library"

0 comments on commit 534c0e4

Please sign in to comment.