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

Use jsxc instead of commoner #2230

Closed
wants to merge 2 commits into from
Closed

Conversation

petehunt
Copy link
Contributor

Noticed several bug reports in the past few days on IRC. Still think commoner is the wrong tool for this job and jsxc is the right one.

Test plan: tested jsxc using the normal test plan. Ran bin/jsx, behaved same as jsxc

@syranide
Copy link
Contributor

👍 commoner seems to have more bugs than features in my experience.

' $0 [src dir] [dest dir] (convert all files in src dir and write to dest dir)\n' +
' $0 --extension .jsx [src dir] [src dir] (convert all .jsx files in src dir to .js)' +
' $0 --watch [src dir] [dest dir] (watch src dir and place converted files in dest dir)\n' +
' $0 --extension .jsx --watch [src dir] [src dir] (watch all .jsx files in src dir and convert to .js)'
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't optimist take care of outputting options/usage?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You need to provide usage yourself. It does describe all of the options. I wanted to put some common use cases in here to make the tool more usable.

@sophiebits
Copy link
Collaborator

Should we switch to recommending .jsx?

@zpao
Copy link
Member

zpao commented Jul 28, 2015

We're killing our tools so this is dead 💀

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

Successfully merging this pull request may close these issues.

6 participants