1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const fs = require("fs-extra");
|
4 | const Fixture_1 = require("../Fixture");
|
5 | const Git_1 = require("../Git");
|
6 | const Log_1 = require("../Log");
|
7 | function handle() {
|
8 | if (fs.pathExistsSync('.alobuild.yml')) {
|
9 | Log_1.Log.info('Skipping .alobuild.yml');
|
10 | }
|
11 | else {
|
12 | new Fixture_1.Fixture('init').copy(".alobuild.yml" , ".alobuild.yml" );
|
13 | Git_1.Git.add(".alobuild.yml" );
|
14 | Log_1.Log.success('Generated .alobuild.yml');
|
15 | }
|
16 | }
|
17 | exports.handle = handle;
|