save
This commit is contained in:
1
TODO
1
TODO
@@ -4,5 +4,6 @@ Todo:
|
|||||||
|
|
||||||
* Fix package.c generation
|
* Fix package.c generation
|
||||||
* Add git integration: git init, add the gcklib submodule, ./gcklib-tool --import proginfo
|
* Add git integration: git init, add the gcklib submodule, ./gcklib-tool --import proginfo
|
||||||
|
* -x: for shell
|
||||||
|
|
||||||
end of file TODO
|
end of file TODO
|
||||||
|
|||||||
@@ -111,13 +111,14 @@ int main(int argc, char **argv)
|
|||||||
bool quiet = false;
|
bool quiet = false;
|
||||||
bool force = false;
|
bool force = false;
|
||||||
bool editor = false;
|
bool editor = false;
|
||||||
|
bool shell = false;
|
||||||
char *author = get_name();
|
char *author = get_name();
|
||||||
int year = get_year();
|
int year = get_year();
|
||||||
licence_t licence = BSD;
|
licence_t licence = BSD;
|
||||||
|
|
||||||
parse_standard_options(argc, argv, print_help, print_version);
|
parse_standard_options(argc, argv, print_help, print_version);
|
||||||
|
|
||||||
while ((optc = getopt_long(argc, argv, "a:l:Eqf", longopts, NULL)) !=
|
while ((optc = getopt_long(argc, argv, "a:l:Eqfx", longopts, NULL)) !=
|
||||||
-1)
|
-1)
|
||||||
switch (optc) {
|
switch (optc) {
|
||||||
case 'a':
|
case 'a':
|
||||||
@@ -154,6 +155,9 @@ int main(int argc, char **argv)
|
|||||||
case 'f':
|
case 'f':
|
||||||
force = true;
|
force = true;
|
||||||
break;
|
break;
|
||||||
|
case 'x':
|
||||||
|
shell = true;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
lose = 1;
|
lose = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
4
tools/generate-artifacts
Executable file
4
tools/generate-artifacts
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
mkdir -p build
|
||||||
|
bear --output build/compile_commands.json -- make
|
||||||
Reference in New Issue
Block a user