pr-bot
π€ Compare your base branch to a pull request and run plugins over it to view differences
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- cli.js
- bot-runner.js
- github-controller.js
- travis-env-model.js
- units.js
- plugin-interface.js
- size.js
- log-helper.js
- npm-module.js
- test-plugin-interface.js
- test-size.js
- test-log-helper.js
- test-github-controller.js
- test-travis-bot.js
- test-travis-env-model.js
- content-to-empty.txt
- dino.jpg
- empty-to-content.txt
- empty.txt
- minor-change.txt
- new-file.txt
- stays-the-same.txt
- content-to-empty.txt
- deleted-file.txt
- dino.jpg
- empty-to-content.txt
- empty.txt
- minor-change.txt
- stays-the-same.txt
- bad-plugin.config.js
- base-branch-override.config.js
- example-with-plugin-no-bot-name.config.js
- example-with-plugin-that-fails-build.js
- example-with-plugin.config.js
- example.config.js
- no-plugin-name.config.js
- no-repo-details.config.js
- non-returning.config.js
- throwing.config.js
- .gitignore
- .travis.yml
- CONTRIBUTING.md
- LICENSE
- package-lock.json
- package.json
- README.md
# μ€μΉ κ°μ΄λ
git clone https://github.com/GoogleChromeLabs/pr-bot
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd pr-bot
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. 곡μ μ€μΉ μ€ν¬λ¦½νΈ
μ¬μ μΆμ²- Node.js npm λͺ λ Ήμ΄λ₯Ό μ°λ €λ©΄ Node.jsκ° μ€μΉλμ΄ μμ΄μΌ ν©λλ€.
npm install --global pr-bot
npm λ μ§μ€νΈλ¦¬μ λ°°ν¬λ ν¨ν€μ§λ₯Ό μ μμΌλ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
3. Node.js
μ¬μnpm install --save-dev pr-bot
package.jsonμ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ λ΄λ €λ°μ μ€μΉν©λλ€.
- npm install -g pr-bot
package.jsonμ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ λ΄λ €λ°μ μ€μΉν©λλ€.
npm install --global pr-bot
npm λ μ§μ€νΈλ¦¬μ λ°°ν¬λ ν¨ν€μ§λ₯Ό μ μμΌλ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
buildCommand: `npm install && gulp`,
package.jsonμ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ λ΄λ €λ°μ μ€μΉν©λλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
