This repository was archived by the owner on May 22, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ NPM_INSTALL = npm prune --production=false && npm install
3030BOWER_INSTALL = bower prune && bower install --config.registry.search=http://registry.origami.ft.com --config.registry.search=https://bower.herokuapp.com
3131JSON_GET_VALUE = grep $1 | head -n 1 | sed 's/[," ]//g' | cut -d : -f 2
3232IS_GIT_IGNORED = grep -q $(if $1, $1, $@ ) .gitignore
33- VERSION = master
33+ VERSION = v26
3434APP_NAME = $(shell cat package.json 2>/dev/null | $(call JSON_GET_VALUE,name) )
3535DONE = echo ✓ $@ done
3636CONFIG_VARS = curl -fsL https://ft-next-config-vars.herokuapp.com/$1/$(call APP_NAME)$(if $2,.$2,) -H "Authorization: ` heroku config:get APIKEY --app ft-next-config-vars ` "
@@ -192,7 +192,7 @@ VERIFY_MSG_NO_PA11Y = "\n**** Error ****\nIt looks like your code is user-facing
192192# check if project has demo app if there's a make a11y command
193193_verify_pa11y_testable :
194194 @if [ " $( IS_USER_FACING) " ] && [ -z $( MAKEFILE_HAS_A11Y) ] && [ ! ${IGNORE_A11Y} ]; then (printf $( VERIFY_MSG_NO_PA11Y) && exit 1); fi
195- @if [ ! -d server ] && [ -d templates ] && [ ! -f demos/app.js ]; then (echo $( VERIFY_MSG_NO_DEMO) && exit 1); fi
195+ @if [ " $( IS_USER_FACING ) " ] && [ ! -d server ] && [ ! -f demos/app.js ]; then (echo $( VERIFY_MSG_NO_DEMO) && exit 1); fi
196196 @$(DONE )
197197
198198_run_pa11y :
You can’t perform that action at this time.
0 commit comments