mirror of
https://github.com/thangisme/notes.git
synced 2024-12-30 13:26:36 -05:00
fix build script
This commit is contained in:
parent
125f0dcd83
commit
0161addc80
12
script/build
12
script/build
@ -1,11 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Moving SCSS dependancies into ./assets/css... \n"
|
||||
cp -rf ./node_modules/primer-support/ ./_sass/primer-support/
|
||||
cp -rf ./node_modules/primer-base/ ./_sass/primer-base/
|
||||
cp -rf ./node_modules/primer-layout/ ./_sass/primer-layout/
|
||||
cp -rf ./node_modules/primer-utilities/ ./_sass/primer-utilities/
|
||||
cp -rf ./node_modules/primer-alerts/ ./_sass/primer-alerts/
|
||||
cp -rf ./node_modules/normalize.scss/ ./_sass/normalize.scss/
|
||||
|
||||
git add ./_sass/
|
||||
git commit -m 'Just the Docs build packaging'
|
||||
@ -14,11 +10,7 @@ echo "Packaging gem... \n"
|
||||
gem build just-the-docs.gemspec
|
||||
|
||||
echo "Cleaning up... \n"
|
||||
rm -rf ./_sass/primer-support/
|
||||
rm -rf ./_sass/primer-base/
|
||||
rm -rf ./_sass/primer-layout/
|
||||
rm -rf ./_sass/primer-utilities/
|
||||
rm -rf ./_sass/primer-alerts/
|
||||
rm -rf ./_sass/normalize.scss/
|
||||
git add ./_sass/
|
||||
git commit -m 'Just the Docs build packaging cleanup'
|
||||
git add *.gem
|
||||
|
Loading…
Reference in New Issue
Block a user