Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
target right n-ui versions (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys authored Feb 2, 2017
1 parent a229641 commit 8f4dbcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ifneq ($(CIRCLE_BUILD_NUM),)
# The app is using n-ui
ifneq ($(shell grep -s -Fim 1 n-ui bower.json),)
# versions in package.json and bower.json are not equal
ifneq ($(shell grep -s -Fim 1 version bower_components/n-ui/.bower.json),$(shell grep -s -Fim 1 version node_modules/@financial-times/n-ui/package.json))
ifneq ($(shell grep -s -Fim 1 \"version\" bower_components/n-ui/.bower.json | sed s/,//),$(shell grep -s -Fim 1 \"version\" node_modules/@financial-times/n-ui/package.json | sed s/,//))
$(error 'Projects using n-ui must maintain parity between versions. Rebuild without cache and update your bower.json and package.json if necessary')
endif
endif
Expand Down

0 comments on commit 8f4dbcf

Please sign in to comment.