Moved stuff.
This commit is contained in:
parent
00cfcda9b8
commit
a7561c32c3
|
@ -30,8 +30,11 @@ of services that may be used by one or more services. Install docker on your
|
|||
system if you haven't already, and run `docker-compose up -d` to start the
|
||||
services.
|
||||
|
||||
Run `./build-cli.d` to build and prepare a `cli` executable that you can use to
|
||||
run the Gymboard CLI.
|
||||
|
||||
**WIP:**
|
||||
A `build_apps.d` script is available to try and build all projects and collect
|
||||
A `build-apps.d` script is available to try and build all projects and collect
|
||||
their artifacts in a `build/` directory for deployment.
|
||||
> Eventually, this functionality will be merged into *gymboard-cli*.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* for use. It compiles the CLI application, and copies a "cli" executable to
|
||||
* the project's root directory for use.
|
||||
*/
|
||||
module build;
|
||||
module build_cli;
|
||||
|
||||
import std.stdio;
|
||||
import std.process;
|
||||
|
@ -13,6 +13,8 @@ import std.path;
|
|||
|
||||
int main() {
|
||||
writeln("Building...");
|
||||
const mainDir = getcwd();
|
||||
chdir("gymboard-cli");
|
||||
auto result = executeShell("dub build --build=release");
|
||||
if (result.status != 0) {
|
||||
stderr.writefln!"Build failed: %d"(result.status);
|
||||
|
@ -35,5 +37,6 @@ int main() {
|
|||
return result.status;
|
||||
}
|
||||
}
|
||||
writeln("Done! Run ./cli to start using Gymboard CLI.");
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue