nuke node so you can compile assets
Change-Id: Ifec01be0eb6534f7d4325c2761ee5a00d76d0dcc Reviewed-on: https://gerrit.instructure.com/100510 Tested-by: Jenkins QA-Review: August Thornton <august@instructure.com> Reviewed-by: August Thornton <august@instructure.com> Product-Review: Nathan Mills <nathanm@instructure.com>
This commit is contained in:
parent
f01e450c7c
commit
25154ed4ce
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "removing node_modules and any cached/generated artifacts of any JS related files..."
|
||||
git clean client_apps public spec/javascripts node_modules coverage-js gems/*/node_modules -Xfd
|
||||
|
||||
set -e
|
||||
npm cache clean
|
||||
|
||||
echo "npm installing..."
|
||||
npm install
|
||||
|
||||
echo "npm gems installing..."
|
||||
script/gem_npm install
|
||||
|
||||
echo "everything's clean, now compiling assets..."
|
||||
bundle exec rake canvas:compile_assets
|
||||
|
Loading…
Reference in New Issue