Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HCI Theme
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HCI-Development
HCI Theme
Commits
fdff3b80
Commit
fdff3b80
authored
May 11, 2020
by
Andreas Knote
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rakefile: disable optional dependencies for node, adds comments
parent
184ca815
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Rakefile
Rakefile
+6
-3
No files found.
Rakefile
View file @
fdff3b80
...
...
@@ -8,13 +8,16 @@ require 'rake'
task
:default
=>
[
:build
]
task
:build
do
print
'Packing HCI-Theme'
# Webpack JS dependencies (partially extracted from node packages)
system
'npm install --dev-only'
puts
'[Web-Packing HCI-Theme]'
system
'npm install --no-optional'
system
'npx webpack -p --config webpack.config.js --mode=production'
# Add (S)CSS and other resources
puts
'[Gathering assets from Node]'
FileUtils
.
mkdir_p
(
'_sass'
)
FileUtils
.
copy_entry
'node_modules/slick-carousel'
,
'_sass/slick-carousel'
FileUtils
.
mkdir_p
(
'assets/css/fonts'
)
...
...
@@ -39,6 +42,6 @@ CLOBBER << "_sass/slick-carousel"
CLEAN
<<
"node_modules"
task
:gem
=>
[
:build
]
do
p
rint
'Building HCI-Theme gem
'
p
uts
'[Building HCI-Theme gem]
'
system
"gem build hci-theme.gemspec -o hci-theme.gem"
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment