We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a70df commit 128e66dCopy full SHA for 128e66d
.slugignore
@@ -2,3 +2,4 @@ bin/
2
README.md
3
support/vagrant/
4
Vagrantfile
5
+.sluglocal
.sluglocal
support/app_slug_compile.sh
@@ -11,10 +11,14 @@ cp -R public/* tmp/public.building
11
# Move built web dir into place
12
mkdir -p public.built
13
mv public.built tmp/public.old && mv tmp/public.building public.built
14
-
15
-# Remove files to slim down slug
16
rm -rf tmp/public.old
17
-rm -rf vendor/WordPress
+
+# Remove files to slim down slug if we're on Heroku
+if [ ! -e .sluglocal ]
18
+then
19
+ rm -rf vendor/WordPress
20
+ rm -rf public
21
+fi
22
23
# Write some info about our slug
24
NOW=$( date )
0 commit comments