Switch back to yarn

This commit is contained in:
squidfunk
2017-03-16 12:54:13 +01:00
parent cd64b7372a
commit 7485a2ec50
2 changed files with 9 additions and 9 deletions

View File

@@ -20,12 +20,12 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [[ ! -d "$(npm bin)" ]]; then
# Check if "yarn install" was executed
if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
echo "yarn install"
exit 1
fi
# Run command
"$(npm bin)"/gulp build --clean --optimize --revision "$@"
"$(yarn bin)"/gulp build --clean --optimize --revision "$@"