Pārlūkot izejas kodu

Initial commit

Nothing works ... Only basic project structure.
```
$ pytest -vv tests
========================================= test session starts ================================================
platform linux -- Python 3.7.9, pytest-4.6.11, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3.7
cachedir: .pytest_cache
rootdir: /home/oznt/Software/mars-rover, inifile: setup.cfg
plugins: forked-1.3.0, xdist-2.1.0, timeout-1.3.4, flaky-3.7.0
collected 0 items

===================================== no tests ran in 0.01 seconds ============================================
ERROR: file not found: tests

make: *** [Makefile:6: test] Error 4

$ make integration-test
rover FFF
make: rover: Command not found
make: *** [Makefile:3: integration-test] Error 127
```
Oz N Tiram 4 gadi atpakaļ
revīzija
3a997d0dde
7 mainītis faili ar 58 papildinājumiem un 0 dzēšanām
  1. 7 0
      Makefile
  2. 13 0
      Pipfile
  3. 0 0
      README.md
  4. 1 0
      requirements-test.txt
  5. 1 0
      requirements.txt
  6. 28 0
      setup.cfg
  7. 8 0
      setup.py

+ 7 - 0
Makefile

@@ -0,0 +1,7 @@
+
+integration-test::
+	rover FFF
+
+test::
+	pytest -vv tests
+

+ 13 - 0
Pipfile

@@ -0,0 +1,13 @@
+[[source]]
+url = "https://pypi.org/simple"
+verify_ssl = true
+name = "pypi"
+
+[packages]
+"mach.py" = "*"
+
+[dev-packages]
+pytest = "*"
+
+[requires]
+python_version = "3.9"

+ 0 - 0
README.md


+ 1 - 0
requirements-test.txt

@@ -0,0 +1 @@
+pytest

+ 1 - 0
requirements.txt

@@ -0,0 +1 @@
+-r requirements-test.txt

+ 28 - 0
setup.cfg

@@ -0,0 +1,28 @@
+[metadata]
+name = marsrover
+description = Mars Rover Kata
+description-file = README.md
+author = Oz N Tiram
+author-email = oz.tiram@gmail.com
+license = GPL-3.0-or-later
+classifier =
+    Environment :: Console
+    Intended Audience :: Developers
+    License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
+    Operating System :: OS Independent
+    Programming Language :: Python
+    Programming Language :: Python :: 3
+    Programming Language :: Python :: 3.6
+    Programming Language :: Python :: 3.7
+    Programming Language :: Python :: 3.8
+    Programming Language :: Python :: 3.9
+
+[entry_points]
+console_scripts =
+    rover = rover:main
+
+[aliases]
+test = pytest
+
+[tool:pytest]
+addopts = -vv tests

+ 8 - 0
setup.py

@@ -0,0 +1,8 @@
+from setuptools import setup
+
+setup(
+    setup_requires=['pbr', 'pytest-runner'],
+    pbr=True,
+)
+
+