aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-11-26 22:44:29 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-11-26 22:44:29 +0300
commite44cbfb92630bfb1411bb31b8490c631b4fd9005 (patch)
tree6c172fbccddc33c35c4016a5a798ba62fb7e04f5
parentadjust Gemfiles for Cygwin (diff)
downloadsorting-algorithms-e44cbfb92630bfb1411bb31b8490c631b4fd9005.tar.gz
sorting-algorithms-e44cbfb92630bfb1411bb31b8490c631b4fd9005.zip
add serve.sh (same as serve.bat)
-rw-r--r--.gitattributes1
-rw-r--r--serve.bat2
-rw-r--r--serve.sh3
3 files changed, 5 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 282705f..91bfadd 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,4 @@
* text=auto
*.bat text eol=crlf
+*.sh text eol=lf
diff --git a/serve.bat b/serve.bat
index 495241b..c4dcd0c 100644
--- a/serve.bat
+++ b/serve.bat
@@ -1 +1 @@
-bundle exec jekyll serve --watch --force_polling --drafts --config _config.yml,_config_dev.yml
+bundle exec jekyll serve --watch --force_polling --host 0.0.0.0 --drafts --config _config.yml,_config_dev.yml
diff --git a/serve.sh b/serve.sh
new file mode 100644
index 0000000..d9f5b5a
--- /dev/null
+++ b/serve.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+bundle exec jekyll serve --watch --force_polling --host 0.0.0.0 --drafts --config _config.yml,_config_dev.yml