-
Notifications
You must be signed in to change notification settings - Fork 1
/
nml.autopkg
70 lines (64 loc) · 1.93 KB
/
nml.autopkg
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
nuget {
nuspec {
id = nml;
title: nml - nanomsg module for Lua;
version: 1.0.000.25;
authors: {coapp, Andrew Starks, Christian Bechette, Tightrope Media Systems};
owners: {Tightrope Media Systems};
licenseUrl: "http://opensource.org/licenses/MIT";
releaseNotes: {@"Fixed post build steps and the clobbering of the props."};
requireLicenseAcceptance:false;
summary: "A simple nanomsg binding lua.";
copyright: "Copyright 2013-2014 Tightrope Media Systems, Saint Paul, Minnesota";
tags: {native, Lua, module};
description: {
@"nml is a simple binding for nanomsg. It works with Lua 5.2 and 5.3 Work 1/2.";}
};
dependencies {
// This node defines any outside items which may be needed to consume this package.
packages : {
// This is a list of other NuGet packages required to use this package.
// Each item follows the format "<pkg_name>/<version>"
lua/"[5.2, 5.4)",
nanomsg/"0.3"
};
};
files {
// declare a lua collection
lua : {
// copies the whole folder tree.
#add-all-files : Items.MediaCircusFiles;
// set the destination in the package itself.
#destination : ${build_root}\mediacircus;
};
lualib : {
// copies the whole folder tree.
#add-all-files : Items.nmlBin;
// set the destination in the package itself.
#destination : ${build_root}\${conditionFolder}\nml;
};
[x64, v100, Release] {
lualib: {"x64\Release\nml\**\*"};
};
[x64, v100, Debug] {
lualib: {"x64\Debug\nml\**\*"};
};
[win32, v100, Release] {
lualib: {"Win32\Release\nml\**\*"};
};
[win32, v100, Debug] {
lualib: {"Win32\Debug\nml\**\*"};
};
lua: {".\nml\**\*"};
};
targets {
AfterBuild {
.Copy {
DestinationFiles = "@(nmlBin->'$(TargetDir)nml\%(RecursiveDir)%(Filename)%(Extension)')";
SourceFiles = "@(nmlBin)";
SkipUnchangedFiles = true;
UseHardlinksIfPossible = true;
};
};
}
}