aboutsummaryrefslogtreecommitdiff
path: root/.boilerplates/comp/run
diff options
context:
space:
mode:
authorMarvin Borner2020-05-16 20:10:41 +0200
committerMarvin Borner2020-05-16 20:10:41 +0200
commitd6360cd90fd84aff02a617287b019593e9020651 (patch)
treee3bd137492592111dc9b7327e462088ab04b9f47 /.boilerplates/comp/run
parentff878aa072ee32bb679902a412b9d10ca6323967 (diff)
Preparing configs for googles kickstart comp!
(yes, I'll be using cpp)
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