English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Part One: Using Scenario
Using scenario: Before project release
Operation steps:
1.Execute gulp to compress and merge files, etc.;
2.in1After the execution is completed, for1The files merged in the middle, such as default.css, are automatically generated with multi-theme colors. Here, node is used to process.
Problem: Manual operation steps are繁琐
Open cmd->Change execution directory->Execute gulp->Close cmd (The window cannot execute other commands after gulp execution)->Open cmd->Change directory->Execute node->Close cmd
Requirement: Use .bat to automatically complete the above steps
Part Two: bat Code
@echo off start cmd /k "gulp" start cmd /k "node modifyfile.js"
That's all for this article. I hope the content of this article can bring some help to everyone's learning or work, and I also hope to get more support for the Shouting Tutorial!
Statement: The content of this article is from the Internet, and the copyright belongs to the original author. The content is contributed and uploaded by Internet users spontaneously, and this website does not own the copyright. It has not been manually edited and does not assume any relevant legal liability. If you find any content suspected of copyright infringement, please send an email to: notice#oldtoolbag.com (Please replace # with @ when sending an email to report abuse, and provide relevant evidence. Once verified, this site will immediately delete the suspected infringing content.)