File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,14 @@ update: fetch ## Synchronize latest (auto runs clean and fetch first)
2525 cp -R tmp/mitlib-style-master/_assets/i/* vendor/assets/images
2626 cp -R tmp/mitlib-style-master/_assets/sass/* vendor/assets/stylesheets
2727
28+ rm -rf vendor/assets/stylesheets/apps/
29+ rm -f vendor/assets/stylesheets/ebooks-main.scss
30+ rm -f vendor/assets/stylesheets/guide-helper.scss
31+ rm -f vendor/assets/stylesheets/quicksubmit.sass
32+
33+ # We need to double $ so make doesn't think it's a variable and escape the $ for bash. Hence \$$.
34+ sed -i '' "s+url('# {\$$image-path}/vi-shape7-tp.svg')+image-url('vi-shape7-tp.svg')+g" vendor/assets/stylesheets/elements/*.scss
35+
2836 @tput setaf 2
2937 @tput bold
3038 @echo "Assets updated. Make sure to update version in:"
@@ -41,7 +49,7 @@ dist: ## Build the gem from the current gemspec
4149 @tput setaf 2
4250 @tput bold
4351 @echo " Finished building gem. To test locally add to your project Gemfile:"
44- @echo " gem 'mitlibraries-theme', '$( shell pwd) '"
52+ @echo " gem 'mitlibraries-theme', path: '$( shell pwd) '"
4553 @tput sgr0
4654
4755publish : # # Publish the gem version defined in the gemspec
You can’t perform that action at this time.
0 commit comments