Skip to content

Commit 31039d3

Browse files
committed
Fix travis build -- use correct widgets package.
1 parent 25d25f0 commit 31039d3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build/run-testsapp.grunt.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ module.exports = {
5252

5353
workingDir:".testsapprun",
5454
testsAppName:"TestsApp",
55+
tnsCoreModulesSource: pathModule.resolve("./tns-core-modules"),
5556
applicationDir: pathModule.join(".testsapprun", "TestsApp"),
5657
appDir: pathModule.join(".testsapprun", "TestsApp", "app"),
5758
pathToApk: "./platforms/android/build/outputs/apk/TestsApp-debug.apk",
@@ -203,6 +204,11 @@ module.exports = {
203204
"npm-i-modules": {
204205
cmd: "npm i " + pathModule.relative(localCfg.applicationDir, localCfg.modulesPath),
205206
cwd: localCfg.applicationDir
207+
},
208+
"npm-i-widgets": {
209+
// HACK: switch to @next when it gets switched to the 3.0 branch
210+
cmd: "npm i tns-core-modules-widgets@rc",
211+
cwd: localCfg.applicationDir
206212
}
207213
},
208214
shell: {
@@ -254,7 +260,6 @@ module.exports = {
254260
grunt.loadNpmTasks("grunt-mkdir");
255261
grunt.loadNpmTasks("grunt-contrib-clean");
256262
grunt.loadNpmTasks("grunt-contrib-copy");
257-
grunt.loadNpmTasks("grunt-untar");
258263

259264
var getPlatformSpecificTask = function(templatedTaskName) {
260265
return templatedTaskName.replace(/\{platform\}/, localCfg.platform);
@@ -296,6 +301,7 @@ module.exports = {
296301
"copy:testsAppToRunDir",
297302
"clean:modules",
298303
"exec:npm-i-modules",
304+
"exec:npm-i-widgets",
299305
"copy:modulesToDir",
300306
"clean:tempExtractedModules",
301307

0 commit comments

Comments
 (0)