Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Update render-build.sh

Josh Pigford64d5a73eb70c
diff --git a/bin/render-build.sh b/bin/render-build.sh
index 1f95dc7f..a4c2a21c 100755
--- a/bin/render-build.sh
+++ b/bin/render-build.sh
@@ -1,12 +1,13 @@
#!/usr/bin/env bash
-# exit on error
set -o errexit
echo "Installing gems..."
bundle install
-echo "Precompiling assets..."
-./bin/rails assets:precompile
-./bin/rails assets:clean
+echo "Clobbering old assets..."
+bundle exec rails assets:clobber
-echo "Build complete"
+echo "Precompiling assets for production..."
+bundle exec rails assets:precompile
+
+echo "✅ Build complete"
\ No newline at end of file