github.com/ChicK00o/awgo@v0.29.4/env.sh (about) 1 #!/usr/bin/env zsh 2 3 # Workflow environment variables 4 # These variables create an Alfred-like environment 5 6 root="$( git rev-parse --show-toplevel )" 7 testdir="${root}/testenv" 8 9 # Absolute bare-minimum for AwGo to function... 10 export alfred_workflow_bundleid="net.deanishe.awgo" 11 export alfred_workflow_data="${testdir}/data" 12 export alfred_workflow_cache="${testdir}/cache" 13 14 test -f "$HOME/Library/Preferences/com.runningwithcrayons.Alfred.plist" || { 15 export alfred_version="3.8.1" 16 } 17 18 # Expected by ExampleNew 19 export alfred_workflow_version="1.2.0" 20 export alfred_workflow_name="AwGo" 21 22 # Prevent random ID from being generated 23 export AW_SESSION_ID="test-session-id" 24 25 export GO111MODULE=on