mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
21 lines
606 B
C#
21 lines
606 B
C#
using System.IO;
|
|
|
|
namespace Semmle.Autobuild
|
|
{
|
|
/// <summary>
|
|
/// ASP extraction.
|
|
/// </summary>
|
|
class AspBuildRule : IBuildRule
|
|
{
|
|
public BuildScript Analyse(Autobuilder builder)
|
|
{
|
|
var command = new CommandBuilder(builder.Actions).
|
|
RunCommand(builder.Actions.PathCombine(builder.SemmleJavaHome, "bin", "java")).
|
|
Argument("-jar").
|
|
QuoteArgument(builder.Actions.PathCombine(builder.SemmleDist, "tools", "extractor-asp.jar")).
|
|
Argument(".");
|
|
return command.Script;
|
|
}
|
|
}
|
|
}
|