force restart

cat-town
Dan Buch 14 years ago
parent 9e5cf6d00a
commit c984ce1fd0

@ -12,5 +12,8 @@ all: $(ALL_TARGETS)
clean:
rm -vf ./bin/*
test:
./tests/test_hello_world
.PHONY: all clean
.PHONY: all clean test

@ -1,7 +1,8 @@
#include <cstdio>
#include <iostream>
using namespace std;
int main()
{
printf("Hello World!\n");
cout << "Hello World!" << endl;
return 0;
}

@ -0,0 +1,5 @@
#!/bin/bash
./bin/hello-world > /dev/null 2>&1
exit $?
Loading…
Cancel
Save