* never try to write anything to the host's disks * read as little as possible from the host's disks * keep source in ram * cache build artifacts and intermediate content persistently Most of these hacks are only necessary because Docker disk performance on macOS is...not performant Signed-off-by: Jesse Vincent <jesse@keyboard.io> Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/926/head
parent
5d59552403
commit
ba7b496af5
@ -0,0 +1,20 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
install -d /kaleidoscope/hardware/keyboardio \
|
||||
/kaleidoscope/hardware/keyboardio/avr/libraries/Kaleidoscope \
|
||||
/kaleidoscope-persist/temp \
|
||||
/kaleidoscope-persist/ccache/cache
|
||||
|
||||
echo "Syncing the bundle..."
|
||||
tar xf /kaleidoscope-src/bundle.tar -C /kaleidoscope/hardware/keyboardio
|
||||
|
||||
echo "Syncing Kaleidoscope..."
|
||||
tar xf /kaleidoscope-src/kaleidoscope.tar -C /kaleidoscope/hardware/keyboardio/avr/libraries/Kaleidoscope
|
||||
|
||||
ln -s /kaleidoscope/hardware/keyboardio/virtual/libraries/Kaleidoscope \
|
||||
/kaleidoscope/hardware/keyboardio/avr/libraries/Kaleidoscope
|
||||
|
||||
cd /kaleidoscope/hardware/keyboardio/avr/libraries/Kaleidoscope
|
||||
|
||||
/bin/bash -c "$*"
|
Loading…
Reference in new issue