From 308326c458b5089fe8e26e2547a10e86e3db04e1 Mon Sep 17 00:00:00 2001 From: Nils Dagsson Moskopp Date: Sat, 20 Oct 2018 18:12:12 +0200 Subject: + test handling of dofiles written in Python 3.5 --- dofile-in-python/target.do | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dofile-in-python/target.do (limited to 'dofile-in-python/target.do') diff --git a/dofile-in-python/target.do b/dofile-in-python/target.do new file mode 100644 index 0000000..5f0fadb --- /dev/null +++ b/dofile-in-python/target.do @@ -0,0 +1,6 @@ +#!/usr/bin/env python3.5 +from subprocess import run +from datetime import datetime + +run(['redo-ifchange', 'source']) +print(datetime.now().timestamp()) -- cgit v1.2.3