Skip to content
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

Adds --show option to list files being built on run/push #92

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

jiahuang
Copy link
Contributor

fixes #90

>> tessel push index.js --show
TESSEL! Connected to TM-00-04-f000da30-005d4344-60782586.
INFO Bundling directory /Users/jialiya/projects/technical/test/pins (~838 bytes)
  tessel compiling +0ms _start.js
  tessel writing +10ms _start.js
  tessel compiling +1ms app/index.js
  tessel writing +3ms app/index.js
INFO Deploying bundle (4.50 KB)...
INFO Finished deployment
INFO Run "tessel logs" or "tessel push <script.js> -l" to see logged output.

Also removed deprecated tessel run --version command.

@jiahuang jiahuang changed the title Adds option to list files being built on run/push Adds --show option to list files being built on run/push Jun 28, 2014
@@ -61,6 +55,20 @@ var argv = require("nomnom")

argv.verbose = !argv.quiet;

if (argv.show && !argv.quiet) {
process.env.DEBUG = '*';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably shouldn't do it this way.

single: argv.single
}, function (err) {
client.run(pushpath, ['tessel', pushpath].concat(argv.arguments || [])
, argv
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't pass in argv, they're not the same set of arguments.

@tcr
Copy link
Member

tcr commented Jun 30, 2014

I'm not sure why this isn't part of -v verbose. Also this PR fails.

single: argv.single
}, function () {
client.run(pushpath, ['tessel', pushpath].concat(argv.arguments || [])
, argv
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, don't replace this with argv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add a --verbose option that shows which directories are pushed
2 participants