Skip to content

Instantly share code, notes, and snippets.

@johannesberdin
johannesberdin / pre-commit
Created October 8, 2018 07:08
Warn on .spp files
#!/bin/sh
LIST=$(git diff --name-only --diff-filter=AM HEAD)
for file in $LIST
do
if [ "$file" == '#' ]; then
continue
fi
EXTENSION=$(echo "$file" | grep ".spp$")
@johannesberdin
johannesberdin / jigsaw-gh-workflow.yml
Created May 5, 2020 17:38
Jigsaw auto deployment to GitHub Pages
name: Auto-deploy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
# This workflow contains a single job called "deploy"
deploy:
# The type of runner that the job will run on
sdk.dir=/Users/runner/Library/Android/sdk
ndk.dir=/Users/runner/Library/Android/sdk/ndk-bundle