Description
$ h5bp -f init
Running "init:h5bp" (init) task
This task will create one or more files in the current directory, based on the
environment and the answers to a few questions. Note that answering "?" to any
question will show question-specific help and answering "none" to most questions
will leave its value blank.
Existing files may be overwritten! Used --force, continuing.
"h5bp" template notes:
First time the init task is run with h5bp
template, the latest version
of html5-boilerplate is downloaded locally.
The resulting output depends on the few question grunt asks during the
process. This includes some path rewrites (like renaming the
css/style.css
file to something else).
Simply keep pressing enter for the default h5bp layout.
There's four "step" of prompts:
- project: Basic project configuration (name, description, version, ...)
- layout: [D]efault, [C]ustom, [S]illy
- files: Depends on layout value, series of prompts for specific
file / directory renames - gruntfile: Gruntfile creation
This template tries to guess file and directory paths, but you will most likely
need to edit the generated grunt.js file before running grunt. If you run grunt
after generating grunt.js, and grunt exits with errors, edit the grunt.js file!
path.existsSync is now called fs.existsSync
.
Please answer the following:
[?] Project name (zjutsw) HTML5Demo
[?] Description (The best project ever.)
[?] Version (0.1.0)
[?] Project git repository (git://github.com/zjutsw/HTML5Demo.git)
[?] Project homepage (https://github.com/zjutsw/HTML5Demo)
[?] Licenses (MIT)
[?] Author name (majianxiong)
[?] Author email (jianxiong0322@gmail.com)
[?] Author url (none)
[?] Do you need to make any changes to the above before continuing? (y/N)
Fetching http://github.com/h5bp/html5-boilerplate/tarball/master
This might take a few moment
Error: connect ETIMEDOUT
Task "init:h5bp" failed. Used --force, continuing.
Done, but with warnings.