Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Toolchain
sgc
Commits
f16504be
Commit
f16504be
authored
Jun 04, 2017
by
Philipp Nowinski
Browse files
[FEATURE] drop ruby installer; no more ruby dependencies \o/
parent
a1d7571c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
28 deletions
+0
-28
core/installers/ruby.sh
core/installers/ruby.sh
+0
-24
install.sh
install.sh
+0
-4
No files found.
core/installers/ruby.sh
deleted
100755 → 0
View file @
a1d7571c
#!/bin/bash
if
[
-z
`
which scss-lint
`
>
/dev/null
]
then
if
[
!
-z
`
which ruby
`
>
/dev/null
]
then
echo
-e
"
\0
33[0;34mInstall scss-lint
\0
33[0m"
;
if
[
$OSTYPE
==
"msys"
]
then
gem
install
scss_lint
else
gem
install
scss_lint
if
[
$?
-ne
0
]
then
echo
-e
"
\0
33[0;34mInstallation failed, trying to install with sudo
\0
33[0m"
;
sudo
gem
install
scss_lint
fi
fi
else
echo
-e
"
\n\0
33[0;31mYou need to have ruby installed on your machine in order for scss-lint to work!
\0
33[0m
\n
"
;
fi
else
echo
-e
"
\0
33[0;32mscss-lint already installed ✓
\0
33[0m
\n
"
fi
install.sh
View file @
f16504be
...
...
@@ -62,10 +62,6 @@ npm install yarn
node_modules/yarn/bin/yarn
install
echo
-e
"
\0
33[0;32mDependencies installed ✓
\0
33[0m
\n
"
echo
-e
"
\0
33[0;34mInstall ruby dependencies
\0
33[0m"
;
./core/installers/ruby.sh
echo
-e
"
\0
33[0;32mDependencies installed ✓
\0
33[0m
\n
"
# copy config file if no present yet
if
[
!
-e
../.sgc-config.json
]
then
...
...
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