瀏覽代碼

add check

root 3 年之前
父節點
當前提交
dbed24c628
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      Makefile

+ 10 - 1
Makefile

@@ -1,4 +1,13 @@
-SHELL = /bin/sh
+pythonReq := $(shell python -c 'import yaml' > /dev/null 2>&1 && (echo "installed" )  || (echo "not installed "; exit 1)  )
+
+check:
+	@echo yaml module  $(pythonReq)
+
+
+all:
+	@echo Hello
+
+
 
 test:
 	echo "hello world"