mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-12-01 17:44:14 +01:00
12 lines
311 B
Bash
Executable File
12 lines
311 B
Bash
Executable File
#!/bin/bash
|
|
|
|
build_in_docker() {
|
|
docker run -t \
|
|
--mount type=bind,src=`realpath $(pwd)`,target="/src" \
|
|
$1 /bin/bash -c "cd /src && make -f $2 all"
|
|
}
|
|
|
|
build_in_docker "anacierdem/libdragon:6.0.2" "Makefile.libdragon"
|
|
|
|
build_in_docker "polprzewodnikowy/n64sdkmod:latest" "Makefile.libultra"
|