|
|
@ -1,21 +1,23 @@
|
|
|
|
#! /bin/bash
|
|
|
|
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
|
|
install -d /kaleidoscope/hardware/keyboardio \
|
|
|
|
install -d /kaleidoscope/ \
|
|
|
|
/kaleidoscope/hardware/keyboardio/avr/libraries/Kaleidoscope \
|
|
|
|
/kaleidoscope/.arduino/user/hardware/keyboardio \
|
|
|
|
/kaleidoscope-persist/temp \
|
|
|
|
/kaleidoscope-persist/temp \
|
|
|
|
/kaleidoscope-persist/ccache/cache
|
|
|
|
/kaleidoscope-persist/ccache/cache
|
|
|
|
|
|
|
|
|
|
|
|
echo "Syncing the bundle..."
|
|
|
|
|
|
|
|
tar xf /kaleidoscope-src/bundle.tar -C /kaleidoscope/hardware/keyboardio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Syncing Kaleidoscope..."
|
|
|
|
echo "Syncing Kaleidoscope..."
|
|
|
|
tar xf /kaleidoscope-src/kaleidoscope.tar -C /kaleidoscope/hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
tar xf /kaleidoscope-src/kaleidoscope.tar -C /kaleidoscope/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Syncing the bundle..."
|
|
|
|
|
|
|
|
tar xf /kaleidoscope-src/bundle.tar -C /kaleidoscope/.arduino/user/hardware/keyboardio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ln -s /kaleidoscope /kaleidoscope/.arduino/user/hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
|
|
|
|
ln -s /kaleidoscope /kaleidoscope/.arduino/user/hardware/keyboardio/virtual/libraries/Kaleidoscope
|
|
|
|
|
|
|
|
|
|
|
|
ln -s /kaleidoscope/hardware/keyboardio/virtual/libraries/Kaleidoscope \
|
|
|
|
|
|
|
|
/kaleidoscope/hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd /kaleidoscope/hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
cd /kaleidoscope/
|
|
|
|
export ARDUINO_DIRECTORIES_DATA=/arduino-cli/data
|
|
|
|
export ARDUINO_DIRECTORIES_DATA=/arduino-cli/data
|
|
|
|
export KALEIDOSCOPE_CCACHE=1
|
|
|
|
export KALEIDOSCOPE_CCACHE=1
|
|
|
|
|
|
|
|
|
|
|
|