Commit 1f0b90cf authored by Joel Collins's avatar Joel Collins
Browse files

Added rescue to Poetry scripts

parent 00d30d8e
Loading
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -46,9 +46,7 @@ else:
    logger.setLevel(logging.WARNING)


if __name__ == "__main__":
    spoof = False

def main():
    print()
    print(bcolors.HEADER + "OpenFlexure Rescue" + bcolors.ENDC)
    print()
@@ -88,3 +86,7 @@ if __name__ == "__main__":
        print()
        for err in error_sources:
            print(err.message)


if __name__ == "__main__":
    main()
+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ rpi = ["RPi.GPIO"]

[tool.poetry.scripts]
build_static = 'openflexure_microscope.install:build'
rescue = 'openflexure_microscope.rescue.auto:main'

[tool.poetry.dev-dependencies]
pynpm = "^0.1.2"