Compare commits

..

No commits in common. "512ecddcb069c5ae81615a919651bf1192018ad4" and "63758ae4227ef40532e147d0f34bb49e2519d23d" have entirely different histories.

3 changed files with 4 additions and 78 deletions

View File

@ -1,4 +1,4 @@
# FOSS-VG (FOSS Voxel Generator) # FOSS-VG (FOSS Voxel generator)
This is a WIP Minecraft clone. This is a WIP Minecraft clone.
@ -55,12 +55,9 @@ This will download the following dependenceis:
To build the project, just use the `build` alias or invoke the `build.sh` To build the project, just use the `build` alias or invoke the `build.sh`
script from the project's base directory. script from the project's base directory.
`build` and `build.sh` accept the environment variables `CXX` and `CXXFLAGS`. `build` and `build.sh` accept the environment variables `CXX` and `CXXFLAGS`. `CXXFLAGS` must at least specify the C++ version.
`CXXFLAGS` must at least specify the C++ version.
To clean out the build or dependency directories, use `clean` and To clean out the build or dependency directories, use `clean` and `clean_dependencies` or their corresponding scripts respectively. `setup_project` will clean out both before doing its thing.
`clean_dependencies` or their corresponding scripts respectively.
`setup_project` will clean out both before doing its thing.
## Copyright / License ## Copyright / License

View File

@ -1,71 +0,0 @@
# Formatting Guidelines
This document lays out how to format code and documents as well as
a few coding practices.
## Markdown
Don't go beyond 80 characters per line, preferably slightly less.
This improves readability on a terminal.
Leave two empty lines between sections for the same reason.
Indent by two spaces.
## C++ / C++ headers
Include the copyright notice as present in the template at the top of
each file.
Don't use excessive comments, use descriptive names instead.
There is no such thing as too long names (within reason, of course).
Don't have comments that go beyond 80 characters per line, preferably
slightly less.
Put comments on their own lines.
Indent by four spaces.
Put opening curly braces used for scoping (namespaces, functions, conditions,
loops, etc.) on the same line as the code declaring the scope and the
corresponding closing curly braces on their own line indented the same
as the code declaring the scope.
(Java-style... How do I reword this properly?)
Put a line break after `template <typename T>`.
Use camel case names where possible except for constants which should use
all uppercase letters and underscores for their names.
Variables and functions start with a lowercase letter, classes and structs
with an uppercase letter.
Avoid abbreviations unless they are well known and universally used acronyms.
Use explicitly sized data types where possible.
For example, use `int32_t` instead of `int`.
When coming up with names, refer to data types by category and size.
For example, refer to double precision floating point numbers as `float64`
instead of `double`.
## Shell Script
Use the hash bang `#!/usr/bin/env bash`.
Include the copyright notice as present in the template below the hash bang.
Indent by four spaces.
Put special commands like `then` and `do` on the same line as the control
structure they belong to. Use the same indent for special commands like
`fi` and `done` as for the control structure they belong to.
Use uppercase variable names with underscores except for loops where
lowercase variable names with underscores may be used for counters and
iterators.
Be verbose about every step that is being taken.

View File

@ -24,7 +24,7 @@ else
USE_WGET=no USE_WGET=no
echo "curl" echo "curl"
else else
echo "Found neither wget nor curl. Aborting." echo "Neither wget nor curl found. Aborting."
exit 1 exit 1
fi fi
fi fi