Bumped version number, fixed instructions slightly
This commit is contained in:
parent
8b68f3a3ce
commit
5874a9e92c
4
slpkg.c
4
slpkg.c
@ -1720,7 +1720,7 @@ int usage(int argc, char** argv, int argi, char* error) {
|
||||
formatinfo(out);
|
||||
|
||||
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) {
|
||||
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) {
|
||||
pkg_job_t job;
|
||||
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) {
|
||||
return usage(argc, argv, argi, "Expected command (build, install, ...)");
|
||||
|
Loading…
x
Reference in New Issue
Block a user