-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gulp as task manager #143
Comments
I agree that shell is bad and we should get rid of it... But also I think gulp adds another abstraction level that we don't need I'd rather go with pure npm (yarn) scripts (I'm happily using that a lot in some projects) Check this out: https://medium.freecodecamp.org/why-i-left-gulp-and-grunt-for-npm-scripts-3d6853dd22b8 So I'd say, unless you think there are good benefits that I'm missing in gulp, let's go with yarn scripts. |
I've been trying to follow this approach of using only yarn and it get's a bit confusing. I think gulp can help to avoid yarn scripts inception.
I think it's more clear. gulp has the global scripting scope while yarn is for specific services. |
Alright, gulp there it is! ;) |
👍 |
We have several handy script on the root folder, however error handling is big difficult when writing shell script. I think that gulpjs could be a robust dev task management solution.
This package looks interesting https://www.npmjs.com/package/gulp-docker-compose
Scripts I have in mind:
gulp setup
: initializes/configures blockchain and databasesgulp start
: starts all required servicesgulp restart
restarts all servicesgulp restart [servicename]
. restart specific servicegulp stop
: stops all services gracefullygulp flush
: remove all blockchain and database datarelated to #142
The text was updated successfully, but these errors were encountered: