My build script that works on my machine

Go down

My build script that works on my machine

· #1

I'm proud to present my build script. It has never failed (on my machine).

bash
#!/usr/bin/env bash
set -e
cd /home/walt/projects/thing   # change this if you are not walt
lazbuild thing.lpi
cp thing /home/walt/bin/       # also this
echo "done"

And the config it reads:

json
{
  "name": "thing",
  "version": "1.0-final-2",
  "works_on": ["my machine"],
  "tested_on": []
}

Feedback welcome.

Read the error message. Then read it again.

Re: My build script that works on my machine

· #2

"tested_on": [] is the most honest line of JSON I have ever read.

Re: My build script that works on my machine

· #3

A small patch:

diff
-cd /home/walt/projects/thing   # change this if you are not walt
+cd "$(dirname "$0")"

Now it works on two machines.

Re: My build script that works on my machine

· #4

Merged. Version bumped to 1.0-final-3.

Read the error message. Then read it again.

Go up

Sign in to reply