Go to file
Kazuhiro MUSASHI 522b11ce16 Mac OS向けにオプションを変更:
```
--- a/tasks/build.rake
+++ b/tasks/build.rake
@@ -24,12 +24,14 @@ task :build do
     if os == :linux
       sh 'grep -l -r ecx.images-amazon.com | sort | uniq | xargs --no-run-if-empty sed -ie "s/http:\/\/ecx.images-amazon.com/https:\/\/images-na.ssl-images-amazon.com/g"'
       sh 'grep -l -r "http://www.amazon.co.jp/exec" | sort | uniq | xargs --no-run-if-empty sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g"'
+      sh 'find . -type f -name "*.mde" | xargs --no-run-if-empty rm || true'
+      sh 'find . -type f -name "*.md-e" | xargs --no-run-if-empty rm || true'
     else
-      sh 'grep -l -r ecx.images-amazon.com | sort | uniq | xargs d -ie "s/http:\/\/ecx.images-amazon.com/https:\/\/images-na.ssl-images-amazon.com/g"'
-      sh 'grep -l -r "http://www.amazon.co.jp/exec" | sort | uniq | xargs sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g"'
+      sh 'grep -l -r ecx.images-amazon.com . | sort | uniq | xargs d -ie "s/http:\/\/ecx.images-amazon.com/https:\/\/images-na.ssl-images-amazon.com/g"'
+      sh 'grep -l -r "http://www.amazon.co.jp/exec" . | sort | uniq | xargs sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g"'
+      sh 'find . -type f -name "*.mde" | xargs rm || true'
+      sh 'find . -type f -name "*.md-e" | xargs rm || true'
     end
-    sh 'find . -type f -name "*.mde" | xargs --no-run-if-empty rm || true'
-    sh 'find . -type f -name "*.md-e" | xargs --no-run-if-empty rm || true'
   end

   cd 'public' do
```
2019-06-16 17:23:16 +07:00
.circleci Modify minor typo...: 2019-05-04 22:09:18 +08:00
config Add config file for staging. 2019-05-04 21:30:18 +08:00
content Shwedagon Pagoda article 2019-06-16 17:09:34 +07:00
layouts Change base url based on the environment: 2019-05-04 21:42:30 +08:00
static/images initial commit 2019-03-31 19:00:21 +08:00
tasks Mac OS向けにオプションを変更: 2019-06-16 17:23:16 +07:00
themes/angels-ladder Delete the `url` setting from the archetypes file. 2019-04-02 23:13:03 +07:00
.gitignore Ignore vim swap file. 2019-04-12 15:43:58 +07:00
.textlintrc initial commit 2019-03-31 19:00:21 +08:00
Rakefile initial commit 2019-03-31 19:00:21 +08:00