diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml new file mode 100644 index 0000000..5b35820 --- /dev/null +++ b/.github/workflows/ant.yml @@ -0,0 +1,25 @@ +# This workflow will build a Java project with Ant +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant + +name: Java CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v3 + with: + java-version: '21' + distribution: 'temurin' + - name: Build with Ant + run: ant -noinput -buildfile build.xml test diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/libraries/lib.xml b/.idea/libraries/lib.xml new file mode 100644 index 0000000..89a750c --- /dev/null +++ b/.idea/libraries/lib.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..6f29fee --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..3dd5564 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/aep24-final-blackjack.iml b/aep24-final-blackjack.iml new file mode 100644 index 0000000..03a7b64 --- /dev/null +++ b/aep24-final-blackjack.iml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..23f899e --- /dev/null +++ b/build.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/hamcrest-core-1.3.jar b/lib/hamcrest-core-1.3.jar new file mode 100644 index 0000000..9d5fe16 Binary files /dev/null and b/lib/hamcrest-core-1.3.jar differ diff --git a/lib/junit-4.13.2.jar b/lib/junit-4.13.2.jar new file mode 100644 index 0000000..6da55d8 Binary files /dev/null and b/lib/junit-4.13.2.jar differ diff --git a/out/production/aep24-final-blackjack/edu/berkeley/aep/Card.class b/out/production/aep24-final-blackjack/edu/berkeley/aep/Card.class new file mode 100644 index 0000000..bc32fb2 Binary files /dev/null and b/out/production/aep24-final-blackjack/edu/berkeley/aep/Card.class differ diff --git a/out/test/aep24-final-blackjack/edu/berkeley/aep/CardTest.class b/out/test/aep24-final-blackjack/edu/berkeley/aep/CardTest.class new file mode 100644 index 0000000..47eb2f0 Binary files /dev/null and b/out/test/aep24-final-blackjack/edu/berkeley/aep/CardTest.class differ diff --git a/src/edu/berkeley/aep/Card.java b/src/edu/berkeley/aep/Card.java new file mode 100644 index 0000000..dc31650 --- /dev/null +++ b/src/edu/berkeley/aep/Card.java @@ -0,0 +1,4 @@ +package edu.berkeley.aep; + +public class Card { +} diff --git a/test/edu/berkeley/aep/CardTest.java b/test/edu/berkeley/aep/CardTest.java new file mode 100644 index 0000000..b20c333 --- /dev/null +++ b/test/edu/berkeley/aep/CardTest.java @@ -0,0 +1,7 @@ +package edu.berkeley.aep; + +import org.junit.Test; + +public class CardTest { + +}