Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Toolchain
sgc
Commits
8329a3af
Commit
8329a3af
authored
May 23, 2017
by
Philipp Nowinski
Browse files
[FEATURE] setup of package caching
parent
a9a1afa4
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.sh
View file @
8329a3af
...
...
@@ -58,6 +58,12 @@ echo -e "\033[0;32mNode installed ✓\033[0m\n"
echo
-e
"
\0
33[0;34mInstall dependencies
\0
33[0m"
;
rm
-rf
./node_modules
npm
install
yarn
# offline mirror
echo
-e
"
\0
33[0;34mCreate offline mirror for node deps
\0
33[0m"
;
node_modules/yarn/bin/yarn config
set
yarn-offline-mirror ./sgc-packages-offline-cache
node_modules/yarn/bin/yarn config
set
yarn-offline-mirror-pruning
true
node_modules/yarn/bin/yarn
install
echo
-e
"
\0
33[0;32mDependencies installed ✓
\0
33[0m
\n
"
...
...
Write
Preview
Supports
Markdown
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