Fix indendation. Prettify.
Update .gitignore to ignore output from upcoming scripts.
Update .gitignore to ignore .spm directory from the package manager.
Fix .gitignore not ignoring scripts/spm.sh
bootstrap.sh:
	Stop exporting new PATH variables.
	Fetch ${2}.build repository first, for future compability with
	dependency testing.
	Output git cloning to .spm/log AND stdout with tee .spm/log -a
Add doc/chapter1.txt for future article on the package manager.
Add doc/preface.txt to give readers an idea on what and why I'm doing
this.
Add required payload scripts and setup to scripts/
Change bootstrap script to use REPO variable instead of fully hardcoded
constant.
Add paklib/hello_world.c to showcase a simple tcc -run file.
Update scripts/Tupfile to depend on the tcc binary too.
Update scripts/addpayload.sh to also include the tcc native binary.
Update src/spm.c to call lua, further calling tcc.
Add at least some text to README.md
bootstrap.sh:
	Add update script function, to update local buildscripts when needed.
	Output required dependency information (pretty verbose) into
	.spm/deps.
	Add (currently commented out) libgit2 dependency for later use.
Change build rules to optimise for size (-Os)
Rename functions in script.{c,h} from script_* to spm_script_*
Use renamed functions in spm.c
bootstrap.sh:
	When updating, reset the base repository to it's HEAD state to avoid
	stray files.
Fixing a few things, need to store latest commit
Remove updating system, only needed for repeated testing, not for
bootstrapping.
Comment out musl dependency. Not currently building.
bootstrap.sh:
	Fix possible error resulting in building outside of build directory.
Add new file paklib/tcc.lua for handling TCC calls directly via lua.
Add libtcc1.a dependency in scripts/Tupfile, after getting
dev-lang/tinycc release_0_9_26 working better.
Add libtcc1.a into the payload.
Create empty scripts/spm-lite.sh.in file for possible spm handling, by
building everything from source.
Add src/package.{c,h} to handle packages further.
Add scripting api possibilities for tcc-compiled scripts.
Fix checking for wrong directories when extracting binary payload.
Fix building libspm.a with script.o, now uses build.o.
spm is now build directly with script.o, since the package manager
library itself does not rely on scripting capabilities.
bootstrap.sh:
	Avoid printing the current path to stdout.
Add new file paklib/buildsystem.lua for handling different build systems
(autogen, configure, cmake, et al.)
Fix project not updating when changing C header files.
Remove src/build.{c,h} since building is handled outside of the base
library.
Attempt to improve lua-based build scripts.
Use new spm_* api in C scripts.
Fix payload copying files wrong.
Add .spm/bin to PATH when running .spm/bin/spm.
	TODO: Fix using PATH, not portable.
Remove stray variables from Tup* files.
Add logging system src/log.{h,c} for libspm to use.
Modify src/package.h to comply with TCC tcclib.h header file.
Add return values to spm_script_* functions. Even if they don't mean
anything.
Add function spm_script_dofile() for executing script files without
parameters.
Modify main binary src/spm.c code to use new libspm log API.
Fix checking for local $REPO in bootstrap.sh.
Add comments to scripts/addpayload.sh for readability.
Export PATH in script, for running any files from .spm/bin before
running .spm/bin/spm.
Add -m64 when compiling under x86_64 arch.
Fix not flushing in log (not flushing explicictly).
Update .gitignore
Remove unnecessary files from paklib.
Remove broken API components from hello_world script.
Add main.lua for the lua entry point file.
Fix unnecessary files being included in payload.
Use bzip2 instead of gzip for better compression ratio.
Fix compiling unnecessary objects into libspm.a.
Use top.config variables instead of too hardcoded variables.
Add support for building with DEBUG.
Fix not being able to build with <stdio.h>
Add future files for option parsing.
Temporarily (?) remove src/package.{h,c}, it had no use.
Add error handling to scripts.
Add DEBUG support in scripts with global DEBUG boolean.
Remove hardcoded lua from src/spm.c.
Remove package.h from API.
Add previously ignored build variants debug and release.