Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ block-test.hcl
# Binaries
/cachew
/cachewd
cachew-playpen-overrides.hcl
.run/playpen.cachew.run.xml
13 changes: 13 additions & 0 deletions .playpen/hooks/cachewd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: go
hooks-version: 2
environment: BLOX
build: |
TARGET_ARCH="${PLAYPEN_ARCHITECTURE}"
echo "Building cachewd for linux/${TARGET_ARCH}"
just build linux ${TARGET_ARCH}
mkdir -p ${PLAYPEN_LOCAL_TMP_DIR}/bin
cp dist/cachewd-linux-${TARGET_ARCH} ${PLAYPEN_LOCAL_TMP_DIR}/bin/${PLAYPEN_LAUNCHABLE_NAME}
chmod +x ${PLAYPEN_LOCAL_TMP_DIR}/bin/${PLAYPEN_LAUNCHABLE_NAME}
if [ -f cachew-playpen-overrides.hcl ]; then
cp cachew-playpen-overrides.hcl ${PLAYPEN_LOCAL_TMP_DIR}/
fi
Loading