Skip to content

Commit 10e3736

Browse files
committed
#531 NetStandard DLLs are now automatically added to the nuget target folder
1 parent 8d63d26 commit 10e3736

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Developer Tools/build.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ const shell = require('./src/shell-helper');
22
const sequencerFactory = require('./src/build-sequencer');
33
const buildActions = require('./src/build-actions');
44

5+
// shell.spawn('mkdir -p ./TweetinviAPI/lib/netstandard1.3');
6+
57
const sequencer = sequencerFactory.create();
68

7-
sequencer.addAction(buildActions.updateProjectVersion);
8-
sequencer.addAction(buildActions.nugetRestore);
9-
sequencer.addAction(buildActions.buildDotNet);
9+
// sequencer.addAction(buildActions.updateProjectVersion);
10+
// sequencer.addAction(buildActions.nugetRestore);
11+
// sequencer.addAction(buildActions.buildDotNet);
1012
sequencer.addAction(buildActions.createNugetPackage);
1113

1214
sequencer.execute();

Developer Tools/src/build-actions.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ module.exports = {
6161
},
6262

6363
createNugetPackage: () => {
64-
return shell.cd('./TweetinviAPI').then(() => {
64+
return shell.spawn('mkdir TweetinviAPI\\lib\\netstandard1.3').then(() => {
65+
return shell.spawn('cp ../Tweetinvi/bin/Debug/netstandard1.3/Tweetinvi.*.dll ./TweetinviAPI/lib/netstandard1.3');
66+
}).then(() => {
67+
return shell.cd('./TweetinviAPI');
68+
}).then(() => {
6569
return shell.spawn('rimraf *.nupkg');
6670
}).then(() => {
6771
return shell.spawn('ls');

0 commit comments

Comments
 (0)