2022-02-11 19:03:22 +01:00
|
|
|
name := "freling_netatmo_algo"
|
|
|
|
exe := "./packing"
|
|
|
|
build_sh := "build.sh"
|
|
|
|
|
|
|
|
build:
|
|
|
|
tup
|
|
|
|
|
|
|
|
run: build
|
|
|
|
{{exe}}
|
|
|
|
|
|
|
|
generate-build:
|
2022-02-11 20:06:26 +01:00
|
|
|
git clean -xf src/
|
|
|
|
rm --force {{exe}}
|
2022-02-11 19:03:22 +01:00
|
|
|
tup generate {{build_sh}}
|
|
|
|
|
|
|
|
debug: build
|
|
|
|
lldb {{exe}}
|
|
|
|
|
|
|
|
archive: generate-build
|
|
|
|
git archive --add-file={{build_sh}} --output={{name}}.zip --prefix={{name}}/ HEAD
|