Procházet zdrojové kódy

[-] Update default PYLINT command in entrypoint script

- Also, update README to include working docker command examples
Tim Klein před 4 roky
rodič
revize
35b6da5f57
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 2 2
      README.md
  2. 1 1
      tests/entrypoint.sh

+ 2 - 2
README.md

@@ -65,12 +65,12 @@ sudo docker build . -t godot_blender_exporter:latest
 
 To test:
 ```
-docker run --volume .:/tests/reference_exports godot_blender_exporter:latest compare
+docker run --volume `pwd`:/workdir godot_blender_exporter:latest compare
 ```
 
 To update reference exports:
 ```
-docker run --volume .:/tests/reference_exports godot_blender_exporter:latest export-blends update-examples
+docker run --volume `pwd`:/workdir godot_blender_exporter:latest export-blends update-examples
 ```
 
 ## License

+ 1 - 1
tests/entrypoint.sh

@@ -1,4 +1,4 @@
 #!/bin/bash
 
 . ../.envs  # generated by install_blender.sh
-make BLENDER=${BLENDER_BIN} PYLINT='python3 -m pylint' $@
+make BLENDER=${BLENDER_BIN} PYLINT='pylint' $@