forked from styxlab/gatsby-theme-try-ghost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
depcheck.sh
executable file
·61 lines (40 loc) · 1.07 KB
/
depcheck.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
npm-upgrade
cd packages/gatsby-source-try-ghost
npm-upgrade
cd ../gatsby-plugin-ghost-images
npm-upgrade
cd ../gatsby-rehype-ghost-links
npm-upgrade
cd ../gatsby-rehype-inline-images
npm-upgrade
cd ../gatsby-rehype-prismjs
npm-upgrade
cd ../gatsby-theme-ghost-amp
npm-upgrade
cd ../gatsby-theme-ghost-commento
npm-upgrade
cd ../gatsby-theme-ghost-contact
npm-upgrade
cd ../gatsby-theme-ghost-dark-mode
npm-upgrade
cd ../gatsby-theme-ghost-members
npm-upgrade
cd ../gatsby-theme-ghost-toc
npm-upgrade
cd ../gatsby-transformer-rehype
npm-upgrade
cd ../gatsby-theme-try-ghost
npm-upgrade
cd ../../demo
npm-upgrade
cd ..
mkdir ./compare
github="https://raw.githubusercontent.com"
repo="TryGhost/Casper"
branch="master"
wget -q -P compare -N ${github}/${repo}/${branch}/assets/css/global.css
wget -q -P compare -N ${github}/${repo}/${branch}/assets/css/screen.css
diff -q -s compare/global.css packages/gatsby-theme-try-ghost/src/styles/global-original.css
diff -q -s compare/screen.css packages/gatsby-theme-try-ghost/src/styles/screen-original.css
rm -rf compare out