UNPKG
automated-deployment-aws
Version:
latest (5.0.0)
5.0.0
4.0.2
3.2.2
3.2.1
3.2.0
3.0.0
2.0.2
2.0.1
1.0.2
1.0.1
Library that automates the deployment of the current project into aws machine
automated-deployment-aws
/
addAWSIgnoreFile.js
11 lines
(8 loc)
•
282 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var
fs =
require
(
"fs"
);
var
currentDirectory = __dirname.
replace
(
/\\/g
,
"/"
);
var
rootPath = currentDirectory.
replace
(
"/node_modules/automated-deployment-aws"
,
""
);
var
awsignorefilepath = rootPath +
"/.awsignore"
; fs.
closeSync
(fs.
openSync
(awsignorefilepath,
"w"
));