Helper script to update Tidal and Superdirt

I found myself running the same commands to update these, and opening sclang just to run the single Quarks line to update Superdirt felt somewhat clunky.

The steps in the userbase seemed quickly scriptable, and so these 2 files can make it a bit quicker to update TidalCycles and SuperDirt in one go.


superdirt_update.scd

(
  Quarks.update("SuperDirt");
  0.exit;
);

update.sh

#!/bin/bash

# update TidalCycles
cabal update
cabal install tidal
# add --lib to the previous line if your cabal version is recent enough

# update SuperDirt
sclang superdirt_update.scd

With these in the same directory, you can now run ./update.sh anytime you want to update TidalCycles and SuperDirt.

5 Likes