This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Native packages to install before running this script: | |
# - python3 | |
# - python3-virtualenv | |
# - python3-pip | |
# - git | |
# --------------------------------------- | |
# Create HackEdit development environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -S subversion help2man | |
echo "### Checking out GnuCobol:" | |
svn checkout svn://svn.code.sf.net/p/open-cobol/code/trunk open-cobol-code; | |
cd open-cobol-code/gnu-cobol; | |
echo "### Configuring:" | |
./configure --prefix=/usr; | |
echo "### Building:" | |
make -s; | |
echo "### Installing:" | |
sudo make -s install; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
HTML logger inspired by the Horde3D logger. | |
Usage: | |
- call setup and specify the filename, title, version and level | |
- call dbg, info, warn or err to log messages. | |
""" | |
import logging | |
import time |