Commit 63f6220a authored by Jan-Philipp Stauffert's avatar Jan-Philipp Stauffert
Browse files

Fix compile error

parent 8b5fa710
The MIT License (MIT)
Copyright (c) 2019 Jan-Philipp Stauffert Copyright (c) 2019 Jan-Philipp Stauffert
Permission is hereby granted, free of charge, to any person obtaining a copy Licensed under the Apache License, Version 2.0 (the "License");
of this software and associated documentation files (the "Software"), to deal you may not use this file except in compliance with the License.
in the Software without restriction, including without limitation the rights You may obtain a copy of the License at
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in http://www.apache.org/licenses/LICENSE-2.0
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR Unless required by applicable law or agreed to in writing, software
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, distributed under the License is distributed on an "AS IS" BASIS,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER See the License for the specific language governing permissions and
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, limitations under the License.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN \ No newline at end of file
THE SOFTWARE.
...@@ -5,7 +5,9 @@ print "Installing HCI-Theme" ...@@ -5,7 +5,9 @@ print "Installing HCI-Theme"
system "npm install" system "npm install"
system "npx webpack -p --config webpack.config.js --mode=production" system "npx webpack -p --config webpack.config.js --mode=production"
FileUtils.mkdir_p("_sass")
FileUtils.copy_entry "node_modules/slick-carousel", "_sass/slick-carousel" FileUtils.copy_entry "node_modules/slick-carousel", "_sass/slick-carousel"
FileUtils.mkdir_p("assets/css/fonts")
FileUtils.copy_entry "node_modules/slick-carousel/slick/fonts/slick.woff", "assets/css/fonts/slick.woff" FileUtils.copy_entry "node_modules/slick-carousel/slick/fonts/slick.woff", "assets/css/fonts/slick.woff"
FileUtils.copy_entry "node_modules/slick-carousel/slick/fonts/slick.ttf", "assets/css/fonts/slick.ttf" FileUtils.copy_entry "node_modules/slick-carousel/slick/fonts/slick.ttf", "assets/css/fonts/slick.ttf"
FileUtils.copy_entry "node_modules/slick-carousel/slick/ajax-loader.gif", "assets/css/ajax-loader.gif" FileUtils.copy_entry "node_modules/slick-carousel/slick/ajax-loader.gif", "assets/css/ajax-loader.gif"
......
...@@ -3,7 +3,7 @@ require 'rake' ...@@ -3,7 +3,7 @@ require 'rake'
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "hci-theme" spec.name = "hci-theme"
spec.version = "0.1.0" spec.version = "0.1.2"
spec.authors = ["Jan-Philipp Stauffert"] spec.authors = ["Jan-Philipp Stauffert"]
spec.email = ["jan-philipp.stauffert@uni-wuerzburg.de"] spec.email = ["jan-philipp.stauffert@uni-wuerzburg.de"]
...@@ -18,9 +18,12 @@ Gem::Specification.new do |spec| ...@@ -18,9 +18,12 @@ Gem::Specification.new do |spec|
'extconf.rb', 'extconf.rb',
'bibsonomy.js', 'bibsonomy.js',
'entry.jsx', 'entry.jsx',
'webpack.config.js' 'webpack.config.js',
'package.json'
].to_a ].to_a
spec.required_ruby_version = '>= 2.6'
spec.add_runtime_dependency "jekyll", "~> 4.0" spec.add_runtime_dependency "jekyll", "~> 4.0"
spec.add_runtime_dependency 'jekyll-sass-converter', "~> 2.0" spec.add_runtime_dependency 'jekyll-sass-converter', "~> 2.0"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment