Skip to content

Instantly share code, notes, and snippets.

@NickHeiner
Created January 25, 2013 20:58
Show Gist options
  • Save NickHeiner/4637791 to your computer and use it in GitHub Desktop.
Save NickHeiner/4637791 to your computer and use it in GitHub Desktop.
yeoman output from making a new project
nick.heiner:~/hacks/yeoman-build-test $ yeoman init angular
Running "init:yeoman" (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.
"yeoman" template notes:
invoke angular
Please answer the following:
[?] Would you like to include Twitter Bootstrap? (Y/n) n
[?] If so, would you like to use Twitter Bootstrap for Compass (as opposed to vanilla CSS)? (Y/n) ^C
nick.heiner:~/hacks/yeoman-build-test $ rm -rf .
rm: "." and ".." may not be removed
nick.heiner:~/hacks/yeoman-build-test $ cd ..
nick.heiner:~/hacks $ rm -rf yeoman-build-test/
nick.heiner:~/hacks $ mkdir yeoman-build-test
nick.heiner:~/hacks $ cd yeoman-b
-bash: cd: yeoman-b: No such file or directory
nick.heiner:~/hacks $ cd yeoman-build-test/
nick.heiner:~/hacks/yeoman-build-test $ ls
nick.heiner:~/hacks/yeoman-build-test $ yeoman init angular
Running "init:yeoman" (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.
"yeoman" template notes:
invoke angular
Please answer the following:
[?] Would you like to include Twitter Bootstrap? (Y/n) n
[?] If so, would you like to use Twitter Bootstrap for Compass (as opposed to vanilla CSS)? (Y/n) n
[?] Do you need to make any changes to the above before continuing? (y/N) n
invoke angular:common:angular
create .gitattributes
create .npmignore
create app/.buildignore
create app/.htaccess
create app/404.html
create app/favicon.ico
create app/robots.txt
create app/scripts/vendor/angular.js
create app/scripts/vendor/angular.min.js
create app/scripts/vendor/es5-shim.min.js
create app/scripts/vendor/json3.min.js
create app/styles/main.css
create app/views/main.html
create Gruntfile.js
create package.json
create test/vendor/angular-mocks.js
invoke angular:app:angular
create app/scripts/app.js
create app/index.html
invoke angular:controller:angular
create app/scripts/controllers/main.js
create test/spec/controllers/main.js
invoke testacular:app:angular
create testacular.conf.js
nick.heiner:~/hacks/yeoman-build-test $ yeoman build
Running "build" task
Running usemin target
- intro clean coffee compass mkdirs usemin-handler rjs concat css min img rev usemin manifest copy time
Running "intro" task
Running "clean" task
Running "coffee:compile" (coffee) task
Unable to compile; no valid source files were found.
Unable to compile; no valid source files were found.
Running "compass:dist" (compass) task
Nothing to compile. If you're trying to start a new project, you have left off the directory argument.
Run "compass -h" to get help.
Running "mkdirs:staging" (mkdirs) task
Copying into /Users/nick.heiner/hacks/yeoman-build-test/temp
Ignoring .gitignore, .ignore, .buildignore
...................
>> /Users/nick.heiner/hacks/yeoman-build-test/app -> /Users/nick.heiner/hacks/yeoman-build-test/temp
Running "usemin-handler:html" (usemin-handler) task
Going through index.html to update the config
looking for build script HTML comment blocks
Found a block:
<script src="scripts/app.js"></script>
<script src="scripts/controllers/main.js"></script>
Updating config with the following assets:
- scripts/app.js
- scripts/controllers/main.js
Configuration is now:
css:
{ 'styles/main.css': [ 'styles/**/*.css' ] }
concat:
{ 'scripts/scripts.js':
[ 'scripts/app.js',
'scripts/controllers/main.js' ] }
min:
{ 'scripts/scripts.js': 'scripts/scripts.js' }
rjs:
{ optimize: 'none',
baseUrl: './scripts',
wrap: true }
Running "rjs" task
No data-main attribute found in application index, bypassing the task...
Running "concat:scripts/scripts.js" (concat) task
File "scripts/scripts.js" created.
Running "css:styles/main.css" (css) task
Writing css files to styles/main.css...
Running "min:scripts/scripts.js" (min) task
File "scripts/scripts.js" created.
Uncompressed size: 487 bytes.
Compressed size: 244 bytes gzipped (341 bytes minified).
Running "img:dist" (img) task
Running optipng...ERROR
>> In order for this task to work properly, optipng must be installed and in the
>> system PATH (if you can run "optipng" at the command line, this task should
>> work)
Skiping optipng task
Running jpegtran...ERROR
>> In order for this task to work properly, jpegtran must be installed and in
>> the system PATH (if you can run "jpegtran" at the command line, this task
>> should work)
Skiping jpegtran task
Running "rev:js" (rev) task
scripts/app.js >> 5f1c64db.app.js
scripts/controllers/main.js >> 239d6262.main.js
scripts/scripts.js >> 8e885f4c.scripts.js
scripts/vendor/angular.js >> d10639ae.angular.js
scripts/vendor/angular.min.js >> 23419e86.angular.min.js
scripts/vendor/es5-shim.min.js >> 61e2728c.es5-shim.min.js
scripts/vendor/json3.min.js >> 241d7c33.json3.min.js
Running "rev:css" (rev) task
styles/main.css >> 051c0509.main.css
Running "rev:img" (rev) task
Running "usemin:html" (usemin) task
usemin:html - 404.html
usemin:html - index.html
>> scripts/vendor/es5-shim.min.js
was <script src="scripts/vendor/es5-shim.min.js"></script>
now <script src="scripts/vendor/61e2728c.es5-shim.min.js"></script>
>> scripts/vendor/json3.min.js
was <script src="scripts/vendor/json3.min.js"></script>
now <script src="scripts/vendor/241d7c33.json3.min.js"></script>
>> scripts/vendor/angular.js
was <script src="scripts/vendor/angular.js"></script>
now <script src="scripts/vendor/d10639ae.angular.js"></script>
>> scripts/scripts.js
was <script src="scripts/scripts.js"></script>
now <script src="scripts/8e885f4c.scripts.js"></script>
>> styles/main.css
was <link rel="stylesheet" href="styles/main.css"
now <link rel="stylesheet" href="styles/051c0509.main.css"
usemin:html - views/main.html
Running "usemin:css" (usemin) task
usemin:css - styles/051c0509.main.css
Running "manifest" task
Starting static web server on port 3501
- /Users/nick.heiner/hacks/yeoman-build-test/temp
I'll also watch your files for changes, recompile if neccessary and live reload the page.
Hit Ctrl+C to quit.
Generating the cache manifest
- Command: phantomjs /usr/local/lib/node_modules/yeoman/lib/support/confess.js http://localhost:3501 appcache /usr/local/lib/node_modules/yeoman/lib/support/confess.json
Writing to manifest.appcache...
# Error: Unknown provider: aProvider <- a
at http://localhost:3501/scripts/vendor/d10639ae.angular.js:2627
at getService (http://localhost:3501/scripts/vendor/d10639ae.angular.js:2755)
at http://localhost:3501/scripts/vendor/d10639ae.angular.js:2632
at getService (http://localhost:3501/scripts/vendor/d10639ae.angular.js:2755)
at invoke (http://localhost:3501/scripts/vendor/d10639ae.angular.js:2773)
at instantiate (http://localhost:3501/scripts/vendor/d10639ae.angular.js:2805)
at http://localhost:3501/scripts/vendor/d10639ae.angular.js:4620
at update (http://localhost:3501/scripts/vendor/d10639ae.angular.js:13692)
at http://localhost:3501/scripts/vendor/d10639ae.angular.js:8002 (undefined, #undefined)
CACHE MANIFEST
# Time: Fri Jan 25 2013 15:36:36 GMT-0500 (EST)
# This manifest was created by confess.js, http://github.com/jamesgpearce/confess
#
# Retrieved URL: http://localhost:3501/#/
# User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11
#
# Config:
# task: appcache
# userAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11
# wait: 0
# consolePrefix: #
# verbose: true
# appcache:
# urlsFromDocument: true
# urlsFromRequests: false
# cacheFilter: .*
# networkFilter: null
# url: http://localhost:3501
# configFile: /usr/local/lib/node_modules/yeoman/lib/support/confess.json
CACHE:
http://www.google-analytics.com/ga.js
scripts/8e885f4c.scripts.js
scripts/vendor/d10639ae.angular.js
styles/051c0509.main.css
NETWORK:
*
OK
Running "copy" task
.....................
>> /Users/nick.heiner/hacks/yeoman-build-test/temp -> /Users/nick.heiner/hacks/yeoman-build-test/dist
Running "time" task
>> Build success. Done in 1.802s
Done, without errors.
nick.heiner:~/hacks/yeoman-build-test $ yeoman server:dist
Running "server:dist" (server) task
Starting static web server on port 3501
- /Users/nick.heiner/hacks/yeoman-build-test/dist
I'll also watch your files for changes, recompile if neccessary and live reload the page.
Hit Ctrl+C to quit.
Running "watch" task
Waiting...^Cnick.heiner:~/hacks/yeoman-build-test $ yeoman server:dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment