-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start
Copy the command pertaining to your system.
# For Linux, writes a file in the working directory called "dds"
curl dds.pizza/get/linux -Lo dds
# For macOS, writes a file in the working directory called "dds"
curl dds.pizza/get/macos -Lo dds
# Writes a file in the working directory called "dds.exe"
Invoke-WebRequest dds.pizza/get/windows -OutFile dds.exe
On Linux, macOS or other Unix systems you'll have to mark the file as an executable.
# Add the executable bit to the file mode for the file named "dds"
chmod +x dds
./dds install-yourself
Run this single command to install the Trove to you local database:
dds pkg repo add "https://trovepi.dev"
Clone the DDS template into your own GitHub and then clone this onto your local machine.
Note: More details on Templates page.
In the clone's directory, run:
dds build -t :gcc
The output should be:
Hello from the DDS-template
Note: For information on file extensions conventions, see DDS file extensions.
Edit the variables of the *.json5 meta-data files.
- Add a word denoting the name of your package between the single quotes following the variable
name:
. - Add a version.
- Add a namespace for your package to be contained within.
- Add any package dependencies.
- Add a word for the name of the library you are creating in the single quotes following
name:
. - If any packages dependencies were added, you have to specify which libraries your using in your own library/package.
Note: Full instructions for adding and using dependencies can be found on the Adding Dependencies page. Note: To create a package with multiple libraries, checkout the Multiple Libraries page.
You may also edit the names of any of the directories and files you want, just make sure to update the #include
macros with in the code while its small.
Your package is now setup for building with DDS. Add