1
0
mirror of https://github.com/danog/informatica.git synced 2024-12-11 17:09:38 +01:00
informatica/cmd.sh
2016-01-20 19:41:53 +01:00

6 lines
117 B
Bash

#!/bin/bash
# Compiler
for f in $@/*.cpp; do g++ $f -o ${f/.cpp/};done
# Zipper
for f in $*; do zip $f.zip $f/*;done