aboutsummaryrefslogtreecommitdiff
path: root/.boilerplates/comp/run
diff options
context:
space:
mode:
Diffstat (limited to '.boilerplates/comp/run')
-rwxr-xr-x.boilerplates/comp/run6
1 files changed, 6 insertions, 0 deletions
diff --git a/.boilerplates/comp/run b/.boilerplates/comp/run
new file mode 100755
index 0000000..dae3494
--- /dev/null
+++ b/.boilerplates/comp/run
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+
+g++ file.cpp || exit 1
+./a.out < test.txt
+
+xclip -selection c < file.cpp