mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-06 01:11:07 +03:00
Try to add maven support repo and ndk variables to recipes
This commit is contained in:
parent
d25b25fbb1
commit
b315968bea
2 changed files with 24 additions and 0 deletions
|
@ -1,5 +1,18 @@
|
|||
|
||||
ndk_loc = node[:settings][:ndk_loc]
|
||||
user = node[:settings][:user]
|
||||
|
||||
execute "add-android-ndk-path" do
|
||||
user user
|
||||
command "echo \"export PATH=\\$PATH:#{ndk_loc} #PATH-NDK\" >> /home/#{user}/.bsenv"
|
||||
not_if "grep PATH-NDK /home/#{user}/.bsenv"
|
||||
end
|
||||
|
||||
execute "add-android-ndk-var" do
|
||||
user user
|
||||
command "echo \"export ANDROID_NDK=#{ndk_loc}\" >> /home/#{user}/.bsenv"
|
||||
not_if "grep ANDROID_NDK /home/#{user}/.bsenv"
|
||||
end
|
||||
|
||||
script "setup-android-ndk" do
|
||||
timeout 14400
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue