idea-cli-inspector
A little command-line tool to integrate the awesome IntelliJ IDEA code inspections in your continuous integration (CI) process using Jenkins, Bamboo, et. al.
파일 탐색기
최종 버전 다운로드 (.zip)- codeStyleConfig.xml
- Project.xml
- bentolor.xml
- profiles_settings.xml
- bentolor_2018.xml
- profiles_settings.xml
- ben.projects.idea-cli-inspector.git.iml
- projects.idea-cli-inspector.git.main.iml
- projects.idea-cli-inspector.git.test.iml
- bentolor_idea_cli_inspector.xml
- Execute_idea_cli_inspector__Dry_run_.xml
- inspector_code.xml
- codeStyleSettings.xml
- compiler.xml
- dynamic.xml
- encodings.xml
- misc.xml
- modules.xml
- vcs.xml
- jdk.table.xml
- filetypes.xml
- ide.general.xml
- jdk.table.xml
- shared-indexes.xml
- .bashrc
- .dockerignore
- .gitignore
- .ideainspect
- .travis.yml
- build.gradle
- CHANGES.md
- docker-entrypoint.sh
- DOCKER.md
- Dockerfile
- idea-cli-inspector
- LICENSE.txt
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/bentolor/idea-cli-inspector
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd idea-cli-inspector
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker run --rm -v $(pwd):/project bentolor/idea-cli-inspector -rf pom.xml -p inspectionprofile.xml
빌드된 이미지를 실제 컨테이너로 실행합니다.
want to have them in your CI/Docker run to, ensure that you add them
빌드된 이미지를 실제 컨테이너로 실행합니다.
once with the configuration directories mapped as Docker volumes
이 명령어를 터미널에 그대로 입력해 실행하세요.
docker run -it --rm \
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Gradle (Java/Kotlin)
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- JDK (Java) Java/Kotlin 프로젝트를 빌드/실행하려면 필요합니다.
- Gradle 레포에 포함된 gradlew(Gradle Wrapper)를 쓰면 Gradle을 따로 설치할 필요가 없습니다.
-rf,--rootfile <file> full path to the pom.xml or build.gradle file
Gradle로 빌드를 진행합니다.
or gradle based and its rootdir does not contain
Gradle로 빌드를 진행합니다.
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
Gradle로 빌드를 진행합니다.
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
Gradle로 빌드를 진행합니다.
- $HOME/.gradle/caches/
Gradle로 빌드를 진행합니다.
BUILD SUCCESSFUL 메시지가 뜨면 성공입니다. build/ 폴더에 결과물이 생성됩니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
