Skip to content

Commit

Permalink
released v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nexus-uw committed Oct 31, 2016
1 parent 5b4c450 commit 0e616de
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 36 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ only tested on Ubuntu and OSX, so may not other Linuxs, and/or Windows

## Release Notes

### 0.1.1 (arbitrary minor version bump)
fixed https://github.com/nexus-uw/vscode-gtm/issues/5
updated README to have proper version


### 0.0.4

updated to enforce gtm@1.0.0
Expand Down
68 changes: 34 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"name": "vscode-gtm",
"displayName": "vscode-gtm",
"description": "VSCode plugin to support Git Time Metrics",
"version": "0.0.4",
"publisher": "s3ramsay",
"license": "MIT",
"engines": {
"vscode": "^1.0.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"keywords": [
"gtm",
"git time metrics",
"time tracking"
],
"icon": "GTMLogo-128.png",
"main": "./out/src/extension",
"contributes": {},
"scripts": {
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test":"node ./node_modules/vscode/bin/compile"
},
"devDependencies": {
"typescript": "^1.8.5",
"vscode": "^0.11.0"
}
}
"name": "vscode-gtm",
"displayName": "vscode-gtm",
"description": "VSCode plugin to support Git Time Metrics",
"version": "0.1.1",
"publisher": "s3ramsay",
"license": "MIT",
"engines": {
"vscode": "^1.0.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"keywords": [
"gtm",
"git time metrics",
"time tracking"
],
"icon": "GTMLogo-128.png",
"main": "./out/src/extension",
"contributes": {},
"scripts": {
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/compile"
},
"devDependencies": {
"typescript": "^1.8.5",
"vscode": "^0.11.0"
}
}
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ function run_cmd(cmd: string, args: string[]): Promise<Result> {
}

export function activate(context: vscode.ExtensionContext) {
// check if gtm is installed + avaliable
// check if gtm is installed + available
run_cmd('gtm', ['-v'])
.then((res: Result) => {
if(res.output < 'v1.0.0'){
vscode.window.showWarningMessage('Installed gtm version is below v1.0.0. Please update your gtm installation.');
}
}, (res: Result) => {
if (res.code < 0) {
vscode.window.showErrorMessage('gtm is not avaliable on your $PATH. please install it first');
vscode.window.showErrorMessage('gtm is not available on your $PATH. please install it first');
}
});
let subscriptions: vscode.Disposable[] = [];
Expand Down

0 comments on commit 0e616de

Please sign in to comment.