Skip to content

Commit

Permalink
analyzer: fix build for paths with spaces; make build directory indep…
Browse files Browse the repository at this point in the history
…endent
  • Loading branch information
ttytm committed Apr 4, 2024
1 parent 95869fa commit 5b69a49
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions install.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ import cli
import net.http

const installer_version = '0.0.2'
const analyzer_config_dir_path = join_path(home_dir(), '.config', 'v-analyzer')
const analyzer_sources_dir_path = join_path(analyzer_config_dir_path, 'sources')
const analyzer_bin_dir_path = join_path(analyzer_config_dir_path, 'bin')
const analyzer_bin_file_path = join_path(analyzer_bin_dir_path, 'v-analyzer')
const analyzer_config_dir_path = quoted_path(join_path(home_dir(), '.config', 'v-analyzer')))
const analyzer_sources_dir_path = quoted_path(join_path(analyzer_config_dir_path, 'sources'))
const analyzer_bin_dir_path = quoted_path(join_path(analyzer_config_dir_path, 'bin'))
const analyzer_bin_file_path = quoted_path(join_path(analyzer_bin_dir_path, 'v-analyzer'))
const analyer_build_file_path = quoted_path(join_path(@VMODROOT, 'build_vsh'))

struct ReleaseAsset {
tag_name string @[json: '-']
Expand Down

0 comments on commit 5b69a49

Please sign in to comment.