Initial Commit

This commit is contained in:
ViViDboarder 2013-06-28 14:36:59 -07:00
commit 7009ed1c7a
6 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"cmd": ["abusetheforce deploy file \"${file}\""],
"shell": true,
"working_dir": "${project_path:${folder}}",
"path": "${path}",
"selector": ["source.cls","source.trigger","source.page","source.component"]
}

View File

@ -0,0 +1,7 @@
{
"extensions":
[
"page",
"component"
]
}

View File

@ -0,0 +1,7 @@
{
"extensions":
[
"cls",
"trigger"
]
}

View File

@ -0,0 +1,6 @@
{
"extensions":
[
"object"
]
}

19
README.md Normal file
View File

@ -0,0 +1,19 @@
Sublime Abuse the Force
===================
Plugin for "compiling" Salesforce.com code with [Abuse the Force](http://github.com/ViViDboarder/abuse-the-force)
Works with Sublime Text 2 only
Installation
------------
* Install [Abuse the Force](http://github.com/ViViDboarder/abuse-the-force)
* Clone this repo
* Navigate to this directory
* Run install.sh
Here it is in terminal:
git clone http://github.com/ViViDboarder/sublime-abuse-the-force
cd sublime-abuse-the-force
./install.sh

12
install.sh Executable file
View File

@ -0,0 +1,12 @@
#! /bin/bash
SUBLIME_DIR=~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
mkdir -p "$SUBLIME_DIR"
cp -r "./ForceDotCom" "$SUBLIME_DIR/"
cat ./ForceDotCom/AbuseTheForce.sublime-build | sed "s#"'${path}'"#$PATH#" > "$SUBLIME_DIR/ForceDotCom/AbuseTheForce.sublime-build"
echo "SFDC Sublime Plugin install finished"