-
Notifications
You must be signed in to change notification settings - Fork 52
Build
...for your own devious purposes.
Warning! These directions have been rattled off from memory, so if something doesn't work, send me a note at wordcram at gmail.
You'll need:
- git
- bundler & rake
- Processing
git clone [email protected]:danbernier/WordCram.git wordcram
-
Rename
build.json.example
tobuild.json
, and change theprocessing.sketchFolder
variable to point to your Processing sketch folder. (It's used in thepublish.local
task, which builds WordCram and updates your Processing installation, so you can test out your changes quickly.) -
cd
into your WordCram directory (trust the .rvmrc, if you're using rvm), and run:
gem install bundler
bundle install
This will install rake for you, so you can build WordCram. (And also aws-sdk, for publishing WordCram releases, but I'm not giving out the keys anytime soon.)
- Run
rake
. This will create abuild
directory, compile the code, run a few unit tests, and build a wordcram.jar for you underbuild/p5lib/WordCram/library
.
It should be something like this:
git clone [email protected]:danbernier/WordCram.git wordcram
cd wordcram
cp build.json.example build.json
vim build.json # set 'processing.sketchFolder' to your sketch folder's path
gem install bundler
bundle install
rake
When you're ready to try your new WordCram in a Processing sketch:
rake publish.local
That should be it! Let me know at wordcram at gmail if you have any problems.