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

feat(aureliaCLICommands): add au run to command pallet #24

Merged
merged 2 commits into from
Nov 19, 2016

Conversation

SteveHartzog
Copy link
Contributor

Add au run command to the command pallet. Did I miss anything or is that it?

@CLAassistant
Copy link

CLAassistant commented Nov 17, 2016

CLA assistant check
All committers have signed the CLA.

@eriklieben eriklieben self-assigned this Nov 17, 2016
@@ -12,6 +12,7 @@ export default class AureliaCliCommands {
vscode.commands.registerCommand('extension.auGenerate', () => this.auGenerate(outputChannel)),
vscode.commands.registerCommand('extension.auTest', () => this.runCommand(['test'], outputChannel, false)),
vscode.commands.registerCommand('extension.auBuild', () => this.auBuild(outputChannel)));
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the pull request!

If you add the line above the auBuild line or change the above line to end on (outputChannel)), and the new line on outputChannel, true))); then the build will succeed.

You could test if the build succeeds by running npm run build on your local machine, once you done a npm install.

Then we can take a look and test it :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, my bad. I didn't see that I had added a trailing comma after the statement was completed; and sadly I didn't run the build after making the changes. I did run the tests however, but of course no tests hit this file. This is my first pull request anywhere. Hopefully my next one will be better. :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I looked over the helloworld vscode extension example/docs and noticed I had forgot to expose the command in the package.json. I've tested with F5 and it's there now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just looked over my code after going through the hello world vscode extension sample and noticed that I needed to update the package.json to expose the new command... in two places. Tested and confirmed to run auRun >> au run.

Add au run command to the command pallet.

feat(aureliaCLICommands): add au run to command pallet

Add au run command to the command pallet.

feat(aureliaCLICommands): add au run to command pallet

Add au run command to the command pallet
Needed to expose auRun command via activationEvents.
@eriklieben eriklieben merged commit 4d2efd8 into aurelia:master Nov 19, 2016
@eriklieben
Copy link
Contributor

eriklieben commented Nov 19, 2016

Tested & merged it.

Thank you for helping out improving the visual studio code Aurelia experience!

@SteveHartzog SteveHartzog deleted the run-command branch November 21, 2016 14:30
@eriklieben
Copy link
Contributor

Just released a new version 0.1.11, which includes your change, sorry for the delay.

Thank you for the contribution to making the Aurelia vs code editor experience great!

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.

4 participants