#!/usr/bin/env ruby
# encoding: utf-8
require_relative 'buildpack-finalizer'

artifact_dir = File.join(Dir.pwd, 'buildpack-artifacts')
version = File.read('buildpack/VERSION').strip

buildpack_repo_dir = 'buildpack'
uncached_buildpack_dir = 'pivotal-buildpacks'

BuildpackFinalizer.new(artifact_dir, version, buildpack_repo_dir, uncached_buildpack_dir).run

#!/usr/bin/env ruby
# encoding: utf-8
require_relative 'buildpack-finalizer'

artifact_dir = File.join(Dir.pwd, 'buildpack-artifacts')
version = File.read('buildpack/VERSION').strip

buildpack_repo_dir = 'buildpack'
uncached_buildpack_dir = 'pivotal-buildpacks'

ENV['GOPATH']=buildpack_repo_dir
ENV['GOBIN']="#{buildpack_repo_dir}/.bin"
ENV['PATH']="#{buildpack_repo_dir}/.bin:#{ENV['PATH']}"

BuildpackFinalizer.new(artifact_dir, version, buildpack_repo_dir, uncached_buildpack_dir).run

Set GOPATH, GOBIN, PATH for finalizing
Set GOPATH, GOBIN, PATH for finalizing

Signed-off-by: Sam Coward <f2d9ddb83d985bcf331a113cd487aeceb5e618e4@pivotal.io>
