Add build target for executing test classes

This commit is contained in:
ViViDboarder 2014-04-15 10:35:38 -07:00
parent 8052452105
commit 6750667fb8
2 changed files with 8 additions and 0 deletions

View File

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

View File

@ -8,6 +8,7 @@ mkdir -p "$SUBLIME_DIR"
cp -r "./ForceDotCom" "$SUBLIME_DIR/" cp -r "./ForceDotCom" "$SUBLIME_DIR/"
cat ./ForceDotCom/AbuseTheForce.sublime-build | sed "s#"'${path}'"#$PATH#" > "$SUBLIME_DIR/ForceDotCom/AbuseTheForce.sublime-build" cat ./ForceDotCom/AbuseTheForce.sublime-build | sed "s#"'${path}'"#$PATH#" > "$SUBLIME_DIR/ForceDotCom/AbuseTheForce.sublime-build"
cat ./ForceDotCom/AbuseTheForceTest.sublime-build | sed "s#"'${path}'"#$PATH#" > "$SUBLIME_DIR/ForceDotCom/AbuseTheForceTest.sublime-build"
echo "SFDC Sublime Plugin install finished" echo "SFDC Sublime Plugin install finished"