Hey! Keep up to date with the project through its beta and public launch by following @getsparks.Tweet
CodeIgniter Starter Project − A Starting Point for Any CI Dev
December 12, 2011
A spark for validating other sparks.
|: Log in to view|
|Author Website||: http://codefury.net|
|Spark Website||: https://github.com/katzgrau/spark-sdk|
|Repository Type||: git|
|Number of Installs||: 1,934|
php tools/spark install -v0.0.3 spark-sdkOr download this version manually: Get spark-sdk-0.0.3.zip
This is a spark that will assist in developing other sparks. Most notably, it will provide spark developers with a tool the sparks they've written before they're submitted to getsparks.org.
It is the exact library used on the server side to decide whether your spark passes or fails inspection when it's submitted. Previously, spark developers would simply get an annoying email telling them what was wrong, and to resubmit.
You should generally use the spark system to install spark-sdk. From the terminal, and inside the root of a CodeIgniter project, type:
php tools/spark install spark-sdk
You now have the exact validation tool that GetSparks.org uses to validate your submitted spark, installed in sparks/spark-sdk/1.0/.
Let's say you're writing a new spark called 'myspark'. It's located in sparks/myspark/1.0/.
From our shell, we'll run this on OSX or linux:
$ php sparks/spark-sdk/1.0/scripts/validate-spark.php sparks/myspark\1.0
> php sparks\spark-sdk\1.0\scripts\validate-spark.php sparks\myspark\1.0
This will run the spark validation script for the myspark, and output any errors that might be present. The only thing it does not currently do is verify the existence of dependency sparks on GetSparks.org.
This spark may soon be used for more than simple spark validation.
Maintain by Kenny Katzgrau firstname.lastname@example.org / Twitter: @_kennyk_
php tools/spark install -v0.0.2 spark-sdkOr download this version manually: Get spark-sdk-v0.0.2.zip
php tools/spark install -v0.0.1 spark-sdkOr download this version manually: Get spark-sdk-v0.0.1.zip