The development is halted indefinitely as the author discovered the built-in CMake support is so much better in certain IDEs (Clion, and at the time of this writing, the upcoming Visual Studio 2017) and in the author's opinion it is also much more productive when working with certain IDEs compared with the old-school text-editor plus miscellaneous tools approach; feel free to use certain vi emulator plugins in those IDEs if you think the default text editing capability is severvely limited.
Skaff is a Python library for building programming language dependent scaffolding of software projects, and a command-line tool that uses this library with built-in (CMake-based) C/C++ support.
Click any of the following badges to see details.
To create a project directory named nihil:
skaff nihil
Show usage help by:
skaff --help
For the detailed command-line reference manual, use man as usual:
man 1 skaff
Beta stage starts at v0.5 at which point all the necessary test cases would be added.
Once the version number gets to v1.0 it goes out of beta stage and would be released on PyPI as well; more features may be added later on.
The change log can be viewed here.
- Python 3.5+
- Setuptools 20.0+
which python3 && python3 --version
Ubuntu (>= 16.04)
sudo apt-get install python3-setuptools
The pkg package manager requires a specific version number; unlike the Ubuntu linux distribution listed above, so either install a version that supports python version 3.5 or use the following command to install the most recent version:
sudo pkg install `pkg search -ce 'Python packages installer' | sort | awk 'END{print $1}'`
python3 ./setup.py test
sudo python3 ./setup.py install --optimize 1 --record install_log.txt
sudo python3 ./setup.py develop
ordinary Python package (note this method is preferred if you are using Windows since the setup.py script would fail):
python3 -m skaff.cli -h
cat install_log.txt | sudo xargs rm -rf
sudo mandb
To uninstall the development version:
sudo python3 ./setup.py develop --uninstall
which skaff && sudo rm `which skaff`
- Linux
- FreeBSD
- Mac OS X (haven't tested, but I see no reason why it doesn't work)
- Windows (only 10 is tested)
- CMake is developed and maintained by Kitware.
- The colorscheme of Skaff's logo is inspired by this example.
- The BSD-2-Clause badge is from here.
- Inkscape is used to design the original SVG format logo.
- Motivation from Douglas Mcilroy: "As a programmer, it is your job to put yourself out of business. What you do today can be automated tomorrow."
Licensed under the BSD 2-Clause License.
Distributed under the BSD 2-Clause License.