Skip to content

Commit

Permalink
add makefile :install
Browse files Browse the repository at this point in the history
  • Loading branch information
dimensi committed May 4, 2017
1 parent f5081ec commit 5d91b0a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
install:
rm -rf .git;
yarn;
yarn first:start;
git init;
git add -A;
git commit -m "Initial commit";
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ gulp.task('mkdirs', done => {
title: 'Папки',
message: 'Созданы'
});

done();
});

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "gulppack",
"version": "1.4.0",
"version": "1.5.0",
"description": "Gulp + Webpack build for frondend",
"main": "gulpfile.js",
"scripts": {
"postinstall": "npm run first:start",
"first:start": "gulp mkdirs",
"start": "cross-env NODE_ENV=development gulp",
"build": "cross-env NODE_ENV=production gulp build",
Expand Down

0 comments on commit 5d91b0a

Please sign in to comment.