Skip to content

Commit

Permalink
Merge pull request #53 from OmniSharp/refactoring
Browse files Browse the repository at this point in the history
Prepping for release
  • Loading branch information
Mathew McLoughlin committed Mar 31, 2015
2 parents 73a2ac9 + 092c466 commit 37eea9c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
7 changes: 7 additions & 0 deletions install.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off
CALL npm install
SET TMPFOLDER=%TEMP%\%RANDOM%
CALL git clone https://github.com/OmniSharp/omnisharp-server-roslyn-binaries.git %TMPFOLDER%
RD /S /Q node\server
xcopy /S /E /Y /I %TMPFOLDER%\lib\server %CD%\node\server
RD /S /Q %TMPFOLDER%
2 changes: 0 additions & 2 deletions modules/goToDefinition.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ define(function (require, exports, module) {
Helpers = require('modules/helpers');

exports.exec = function () {
var req = Helpers.buildRequest();

Omnisharp.gotoDefinition()
.done(function (res) {
if (res.FileName === null) {
Expand Down
3 changes: 0 additions & 3 deletions modules/rename.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ define(function (require, exports, module) {
var renameTo = $input.val();

if (buttonId === 'renameOk' && renameTo !== undefined) {
var data = Helpers.buildRequest();
data.renameto = renameTo;

Omnisharp.rename({renameTo: renameTo})
.done(function (res) {
res.Changes.forEach(function (change) {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "omnisharp-brackets",
"title": "omnisharp-brackets",
"description": "C# IDE plugin for brackets.io.\nOmniSharp is a family of Open Source projects, each with one goal - To enable great .NET development in YOUR editor of choice.",
"description": "C# IDE plugin for brackets.io.\nOmniSharp is a family of Open Source projects, each with one goal - To enable great .NET development in YOUR editor of choice.\n\n IMPORTANT: You must run the install script in the extension directory for the plugin to work.\n\nThis is because of a limitation on the size of the extensions size",
"homepage": "https://github.com/OmniSharp/omnisharp-brackets",
"version": "0.0.3",
"version": "0.3.0",
"private": true,
"author": "Mathew McLoughlin mathew.mcloughlin@gmail.com (http://omnisharp.net)",
"license": "MIT",
"engines": {
Expand Down
7 changes: 4 additions & 3 deletions package.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
./build.sh
rm../omnisharp-brackets.zip
zip -r ../omnisharp-brackets.zip ../omnisharp-brackets -x "*.DS_Store .git"
rm -rf node_modules
rm -rf node/server
rm ../omnisharp-brackets.zip
zip -r ../omnisharp-brackets.zip ../omnisharp-brackets -x *.DS_Store *.git* *README.md*

0 comments on commit 37eea9c

Please sign in to comment.