initial commit
This commit is contained in:
15
bin/nomarchy-test-vm
Executable file
15
bin/nomarchy-test-vm
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Build and run the Nomarchy VM (installed environment) for testing.
|
||||
|
||||
echo "Building Nomarchy VM (Installed Environment)..."
|
||||
echo "Note: To test the INSTALLER, run 'nomarchy-test-installer' instead."
|
||||
nix build .#nixosConfigurations.vm.config.system.build.vm
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Success! Launching VM..."
|
||||
./result/bin/run-nomarchy-vm
|
||||
else
|
||||
echo "Error: VM build failed."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user