FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/csharp/scripts/create-extractor-pack.sh at codeql-cli/v2.19.2 · github/codeql · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10k
Code
Issues
997
Pull requests
467
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
csharp
/
scripts
/
create-extractor-pack.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
32 lines (27 loc) · 940 Bytes
Breadcrumbs
codeql
/
csharp
/
scripts
/
create-extractor-pack.sh
Copy path
File metadata and controls
executable file
·
32 lines (27 loc) · 940 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!
/bin/bash
set
-eux
if
[[
"
$OSTYPE
"
==
"
linux-gnu
"
*
]]
;
then
platform=
"
linux64
"
dotnet_platform=
"
linux-x64
"
elif
[[
"
$OSTYPE
"
==
"
darwin
"
*
]]
;
then
platform=
"
osx64
"
if
[[
$(
uname -m
)
==
'
arm64
'
]]
;
then
dotnet_platform=
"
osx-arm64
"
else
dotnet_platform=
"
osx-x64
"
fi
else
echo
"
Unknown OS
"
exit
1
fi
rm -rf extractor-pack
mkdir -p extractor-pack
mkdir -p extractor-pack/tools/
${platform}
function
dotnet_publish
{
dotnet publish --self-contained --configuration Release --runtime
${dotnet_platform}
-p:RuntimeFrameworkVersion=8.0.1
$1
--output extractor-pack/tools/
${platform}
}
dotnet tool restore
dotnet_publish extractor/Semmle.Extraction.CSharp.Standalone
dotnet_publish extractor/Semmle.Extraction.CSharp.Driver
dotnet_publish autobuilder/Semmle.Autobuild.CSharp
cp -r codeql-extractor.yml tools/
*
downgrades tools ql/lib/semmlecode.csharp.dbscheme ql/lib/semmlecode.csharp.dbscheme.stats extractor-pack/
Back
|
FazBrowse Home
|
New Git URL