forked from dotnet/efcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile.shade
More file actions
28 lines (23 loc) · 1.04 KB
/
makefile.shade
File metadata and controls
28 lines (23 loc) · 1.04 KB
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
var VERSION='0.1'
var FULL_VERSION='0.1'
var AUTHORS='Microsoft Open Technologies, Inc.'
use-standard-lifecycle
k-standard-goals
#compile-tests target='compile'
@{
var BASE_DIR = Directory.GetCurrentDirectory();
var TARGET_DIR = Path.Combine(BASE_DIR, "artifacts");
var BUILD_DIR = Path.Combine(TARGET_DIR, "build");
var Configuration = E("Configuration") ?? "Debug";
var projectFiles = Files.Include("test/Microsoft.EntityFrameworkCore.Relational.FunctionalTests/project.json")
.Include("test/Microsoft.EntityFrameworkCore.FunctionalTests/project.json")
.Include("test/Microsoft.EntityFrameworkCore.Relational.Design.FunctionalTests/project.json");
foreach (var projectFile in projectFiles)
{
DotnetPack(projectFile, BUILD_DIR, Configuration);
}
foreach (var nupkg in Files.Include(Path.Combine(BUILD_DIR, "*.FunctionalTests/*.nupkg")))
{
File.Copy(nupkg, Path.Combine(BUILD_DIR, Path.GetFileName(nupkg)), true);
}
}