File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ build:macos --cxxopt=-std=c++20 --cpu=darwin_x86_64
1515build:windows --cxxopt=/std:c++20 --cxxopt=/Zc:preprocessor
1616
1717# this requires developer mode, but is required to have pack installer functioning
18- common:windows --windows_enable_symlinks --enable_runfiles
18+ startup --windows_enable_symlinks
19+ common --enable_runfiles
1920
2021common --registry=file:///%workspace%/misc/bazel/registry
2122common --registry=https://bcr.bazel.build
Original file line number Diff line number Diff line change 1313
1414from go ._extractor_pack_install_script import main
1515
16- if os .environ ['REPO_NAME' ] == 'codeql~' :
16+ build_dir = workspace_dir / 'go' / 'build'
17+
18+ if not build_dir .exists ():
19+ # we probably are in the internal repo
1720 workspace_dir /= 'ql'
21+ build_dir = workspace_dir / 'go' / 'build'
1822
19- dest_dir = workspace_dir / 'go' / 'build' / 'codeql-extractor-pack'
23+ dest_dir = build_dir / 'codeql-extractor-pack'
2024shutil .rmtree (dest_dir , ignore_errors = True )
2125os .environ ['DESTDIR' ] = str (dest_dir )
2226main (sys .argv )
You can’t perform that action at this time.
0 commit comments