maintenance: Simpler OOjs UI pullthrough-script
authorJames D. Forrester <jforrester@wikimedia.org>
Fri, 27 Jun 2014 22:58:45 +0000 (15:58 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Fri, 27 Jun 2014 23:03:49 +0000 (16:03 -0700)
No need to run grunt test, given that the grunt build from npm install will
suffice for our needs.

Change-Id: I816639290874e4962d5dac7d580d314e3bd1cb16

maintenance/resources/update-oojs-ui.sh

index cc5988c..b91e48f 100755 (executable)
@@ -63,10 +63,8 @@ then
        exit 0
 fi
 
-# Build the distribution (using grunt-test instead of grunt-build, because we
-# want to run unit tests first, and because grunt-build is for a release build
-# and wouldn't put a git hash in the file headers)
-npm install && grunt test || exit 1
+# Build the distribution
+npm install || exit 1
 
 # Get the list of changes
 NEWCHANGES=$(git log $OLDHASH.. --oneline --no-merges --reverse --color=never)