Bumped version number, fixed instructions slightly

This commit is contained in:
Zak Yani Star Fenton 2025-06-08 05:24:18 +00:00
parent 8b68f3a3ce
commit 5874a9e92c

View File

@ -1720,7 +1720,7 @@ int usage(int argc, char** argv, int argi, char* error) {
formatinfo(out); formatinfo(out);
fprintf(out, "DEMO INSTRUCTIONS:\n\n"); fprintf(out, "DEMO INSTRUCTIONS:\n\n");
fprintf(out, " 1. compile pkg.c\n 2. place the executable in a subdirectory named `dist`\n 3. create a file `pkg.pkb` with a line `/pkg` (executable path within `dist`)\n 4. run `./dist/pkg build pkg.pkb`\n 5. work out how to install it (try --root ... install)\n\n"); fprintf(out, " 1. compile slpkg.c\n 2. place the executable in a subdirectory named `dist`\n 3. create a file `pkg.pkb` with a line `/pkg` (executable path within `dist`)\n 4. run `./dist/pkg build pkg.pkb`\n 5. work out how to install it (try --root ... install)\n\n");
if (error) { if (error) {
fprintf(out, "ERROR:\n %s\n", error); fprintf(out, "ERROR:\n %s\n", error);
@ -1733,7 +1733,7 @@ int usage(int argc, char** argv, int argi, char* error) {
int main(int argc, char** argv) { int main(int argc, char** argv) {
pkg_job_t job; pkg_job_t job;
int argi = 1; int argi = 1;
printf("SecureLang Package Manager 0.0.1\nThis currently doesn't include proper versioning or dependencies.\n"); printf("SecureLang Package Manager 0.0.2\nThis currently doesn't include proper versioning or dependencies.\n");
if (argc < 2) { if (argc < 2) {
return usage(argc, argv, argi, "Expected command (build, install, ...)"); return usage(argc, argv, argi, "Expected command (build, install, ...)");