This commit is contained in:
John Smith
2023-01-03 09:13:18 -05:00
parent f0d7c9baf3
commit efd5253752
11 changed files with 151 additions and 103 deletions

View File

@@ -23,7 +23,9 @@ Veilid Network Plugin
require 'json'
require 'pathname'
workspace_dir = File.dirname(JSON.parse(`cargo locate-project --workspace`)['root'])
script_dir = File.realpath(File.expand_path(__dir__))
workspace_dir = File.dirname(JSON.parse(`(cd #{script_dir}; cargo locate-project --workspace)`)['root'])
cargo_target_dir = File.join(workspace_dir, 'target')
s.script_phase = {