Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自動ビルドをoctober-devに追従 #232

Open
arowM opened this issue Nov 20, 2020 · 3 comments
Open

自動ビルドをoctober-devに追従 #232

arowM opened this issue Nov 20, 2020 · 3 comments

Comments

@arowM
Copy link
Member

arowM commented Nov 20, 2020

october-devの反映に伴い、ビルド方法が変更になりました。
現在はCircle CI側で自動ビルドを止めていますが、いずれ復活させたいです。

@matsubara0507 さん、特に急ぎではないので、もしお時間あるときにCI設定の更新をお願いすることはできますか?🌻

具体的なビルド方法の変更箇所を示すために、package.jsonのscriptsフィールドの差分を引用しておきます!
もしかしたら、postinstallをCI設定に追加するだけでうまくいくかもしれません。

   "scripts": {
-    "install": "gitbook install",
-    "start": "gitbook serve",
-    "build": "rimraf _book && rimraf docs && gitbook build && mv _book docs && rimraf docs/**/*.md && sed -i 's/検索すると入力/検索/g' docs/*.html docs/**/*.html",
+    "postinstall": "npm run install-gitbook && npm run install-repl",
+    "install-gitbook": "replace --silent ',\"elm-repl\"' '' book.json && gitbook install && replace --silent '\"youtube\"' '\"youtube\",\"elm-repl\"' book.json",
+    "install-repl": "cd repl && npm link && npm i && npm run build && cd ../ && npm link gitbook-plugin-elm-repl",
+    "start": "gitbook --port 8007 serve",
+    "build": "rimraf _book && rimraf docs && gitbook build && mv _book docs && rimraf docs/**/*.md && replace --silent '検索すると入力' '検索' docs/*.html docs/**/*.html && cpx favicon.ico _book/gitbook/images/",
     "test": "echo \"Error: no test specified\" && exit 1"
   },
@matsubara0507
Copy link
Member

なんのことだっけ?って思ったらこれのことですね #81
すっかり存在を忘れていた(コラ)

(あれ?違います?)

@arowM
Copy link
Member Author

arowM commented Nov 20, 2020

あ、 @matsubara0507 さんにやっていただいたのはそっちでしたね!
そっちはそのまま動くはずなのでそのままで問題ないです。

どなたかにCircle CIで自動ビルドできるようにしていただいたんですが、本issueはそちらの話でしたm(_ _)m

@arowM
Copy link
Member Author

arowM commented Nov 20, 2020

@aruneko さんでしたm(_ _)m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants