Browse Source

Add build target for executing test classes

master
ViViDboarder 8 years ago
parent
commit
6750667fb8
  1. 7
      ForceDotCom/AbuseTheForceTest.sublime-build
  2. 1
      install.sh

7
ForceDotCom/AbuseTheForceTest.sublime-build

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

1
install.sh

@ -8,6 +8,7 @@ mkdir -p "$SUBLIME_DIR"
cp -r "./ForceDotCom" "$SUBLIME_DIR/"
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"

Loading…
Cancel
Save