mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
711f96ee1d
Update the dependencies used for building consul-ui. therubyracer is no longer required and fails to build. Instead, a nodejs binary is required to build the assets. Patch out unnecessary executions of `bundle` which can cause failures.
18 lines
455 B
Diff
18 lines
455 B
Diff
diff --git a/ui/scripts/dist.sh b/ui/scripts/dist.sh
|
|
index 0ad6e28e..db340da0 100755
|
|
--- a/ui/scripts/dist.sh
|
|
+++ b/ui/scripts/dist.sh
|
|
@@ -15,10 +15,9 @@ DEPLOY="../pkg/web_ui"
|
|
rm -rf $DEPLOY
|
|
mkdir -p $DEPLOY
|
|
|
|
-bundle check >/dev/null 2>&1 || bundle install
|
|
-bundle exec sass styles/base.scss static/base.css
|
|
+sass styles/base.scss static/base.css
|
|
|
|
-bundle exec ruby scripts/compile.rb
|
|
+ruby scripts/compile.rb
|
|
|
|
# Copy into deploy
|
|
shopt -s dotglob
|