]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: some utils
authorJérémie Astor <fennecdjay@gmail.com>
Sat, 12 Feb 2022 11:40:11 +0000 (12:40 +0100)
committerJérémie Astor <fennecdjay@gmail.com>
Sat, 12 Feb 2022 11:40:11 +0000 (12:40 +0100)
scripts/update.sh
tests/error/invalid_exp_format.gw [new file with mode: 0644]

index e828a56e01ca382d9e6d53039dac87c0ee03fa15..e674a3a0c67228230cf96bdea622410e6d5f0835 100644 (file)
@@ -1,12 +1,10 @@
 #!/bin/bash
 git pull
-git submodule update --recursive --init
+git submodule update
 make clean-all
 make -j
 make -C plug
 sudo make install
-mkdir -p ~/.gwplug
-rm -f ~/.gwplug/*.so
 for a in $(cat plug/list.txt)
-do cp plug/$a/*.so ~/.gwplug
+do cp plug/$a/*.so ~/gwplug
 done
diff --git a/tests/error/invalid_exp_format.gw b/tests/error/invalid_exp_format.gw
new file mode 100644 (file)
index 0000000..d88acbe
--- /dev/null
@@ -0,0 +1,2 @@
+#! [contains] invalid format for expression
+1,(2,3);