Skip to content

Commit

Permalink
minor fixes of maven scripts, readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodysfault committed Feb 17, 2014
1 parent 30ab58a commit d810ded
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@

$ ./gradlew test

или

$ ./maven_test.sh

В тестах проверяются только ходы пешками, для других фигур валидацию ходов делать не нужно.

### Как ходит пешка
Expand All @@ -50,3 +54,10 @@
Она создаст стартовый скрипт

$ ./build/install/interview.java/bin/interview.java


### Работа с Maven

Чтобы скомпилировать и запустить приложение, можно воспользоваться командой

$ ./maven_run.sh
2 changes: 0 additions & 2 deletions maven_build_run.sh

This file was deleted.

2 changes: 2 additions & 0 deletions maven_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mvn -DskipTests clean package
java -jar target/interview.jar "$@"
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<finalName>Chess</finalName>
<finalName>interview</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
1 change: 0 additions & 1 deletion run.sh

This file was deleted.

0 comments on commit d810ded

Please sign in to comment.