Convert gulp action
This command is useful to convert the legacy Gulp build process to use these build tools.
This will do a few things things:
- Remove legacy build files that aren't needed anymore.
- Parse the
gulp/config.js
file and extract thecopy
andscripts
configuration. That will be used to create the build tool configuration file. - Create the build tool configuration file.
- Check to make sure that the
.env
and the configuration file are in place. - Create the
.env
file with the FTP credentials if the file doesn't exist.
To use this command first install the build tools.
npm i - D @aptuitiv/website-build-tools
Then run the following command on the command line:
aptuitiv-build gulp-convert
By default the configuration file built will be .aptuitiv-buildrc.js
. You can specify a different name if you prefer. See the Configuration page for valid file names.
The following are equivalent:
aptuitiv-build gulp-convert --config .aptuitiv-buildrc.cjs
aptuitiv-build gulp-convert -c .aptuitiv-buildrc.cjs
If the .env
file needs to be created then follow the prompts.