Skip to content

Commit 4b6024b

Browse files
committed
Update ShellJS to v0.7.5
1 parent 5742431 commit 4b6024b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lib/services/project-service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export class ProjectService implements IProjectService {
113113
return (() => {
114114
let defaultAppResourcesDir = path.join(this.$projectTemplatesService.defaultTemplatePath.wait(), constants.APP_RESOURCES_FOLDER_NAME);
115115
let targetAppResourcesDir = path.join(appDirectory, constants.APP_RESOURCES_FOLDER_NAME);
116+
this.$fs.ensureDirectoryExists(targetAppResourcesDir).wait();
116117
this.$logger.trace(`Updating AppResources values from ${defaultAppResourcesDir} to ${targetAppResourcesDir}`);
117118
shelljs.cp("-R", path.join(defaultAppResourcesDir, "*"), targetAppResourcesDir);
118119
}).future<void>()();

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"ref": "https://github.com/icenium/ref/tarball/v1.3.2.2",
6969
"ref-struct": "https://github.com/telerik/ref-struct/tarball/v1.0.2.4",
7070
"semver": "5.0.1",
71-
"shelljs": "0.5.3",
71+
"shelljs": "0.7.5",
7272
"source-map": "0.5.6",
7373
"tabtab": "https://github.com/Icenium/node-tabtab/tarball/master",
7474
"temp": "0.8.3",

test/npm-support.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function setupProject(): IFuture<any> {
146146
prepareAppResources: () => Future.fromResult(),
147147
afterPrepareAllPlugins: () => Future.fromResult(),
148148
beforePrepareAllPlugins: () => Future.fromResult(),
149-
getAppResourcesDestinationDirectoryPath: () => Future.fromResult(""),
149+
getAppResourcesDestinationDirectoryPath: () => Future.fromResult(path.join(androidFolderPath, "src", "main", "res")),
150150
processConfigurationFilesFromAppResources: () => Future.fromResult(),
151151
ensureConfigurationFileInAppResources: () => Future.fromResult(),
152152
interpolateConfigurationFile: () => Future.fromResult(),

0 commit comments

Comments
 (0)