Commit 5f8c1f63 authored by Alex Martin's avatar Alex Martin

Release 0.3

(Also changed to use exports/.)
parent 6b017c4d
Pipeline #63148650 passed with stage
in 2 minutes and 23 seconds
......@@ -8,15 +8,15 @@ clean:
rm system.tar.xz
rm -rf repos/* root/*
system.tar.xz: dirs root/globalpackages/io.gitlab.lens-os.system/executables/shell root/globalpackages/io.gitlab.lens-os.system/executables/hello root/globalpackages/io.gitlab.lens-os.system/executables/msgdemo_server root/globalpackages/io.gitlab.lens-os.system/executables/msgdemo_client
system.tar.xz: dirs root/globalpackages/io.gitlab.lens-os.system/exports/executables/shell root/globalpackages/io.gitlab.lens-os.system/exports/executables/hello root/globalpackages/io.gitlab.lens-os.system/exports/executables/msgdemo_server root/globalpackages/io.gitlab.lens-os.system/exports/executables/msgdemo_client
cp release_number root/globalpackages/io.gitlab.lens-os.system/resources/
date +%s > root/globalpackages/io.gitlab.lens-os.system/resources/release_time
tar -cJf system.tar.xz root/*
dirs:
mkdir -p root/globalpackages/io.gitlab.lens-os.system/executables root/globalpackages/io.gitlab.lens-os.system/config root/globalpackages/io.gitlab.lens-os.system/services root/globalpackages/io.gitlab.lens-os.system/resources root/globalpackages/io.gitlab.lens-os.system/develop root/home root/temp root/_/dev root/_/sysfs root/_/procfs
mkdir -p root/globalpackages/io.gitlab.lens-os.system/exports/executables root/globalpackages/io.gitlab.lens-os.system/config root/globalpackages/io.gitlab.lens-os.system/services root/globalpackages/io.gitlab.lens-os.system/resources root/globalpackages/io.gitlab.lens-os.system/develop root/home root/temp root/_/dev root/_/sysfs root/_/procfs
root/globalpackages/io.gitlab.lens-os.system/executables/msgdemo_%:
root/globalpackages/io.gitlab.lens-os.system/exports/executables/msgdemo_%:
mkdir -p repos
if [ -d repos/msgdemo ]; then \
cd repos/msgdemo; \
......@@ -26,9 +26,9 @@ root/globalpackages/io.gitlab.lens-os.system/executables/msgdemo_%:
git clone https://gitlab.com/lens-os/msgdemo.git repos/msgdemo; \
fi
cd repos/msgdemo/$(@F); ./build.sh
cp repos/msgdemo/$(@F)/target/debug/$(@F) root/globalpackages/io.gitlab.lens-os.system/executables/$(@F) # Releasing debug version because we're that unstable.
cp repos/msgdemo/$(@F)/target/debug/$(@F) root/globalpackages/io.gitlab.lens-os.system/exports/executables/$(@F) # Releasing debug version because we're that unstable.
root/globalpackages/io.gitlab.lens-os.system/executables/%:
root/globalpackages/io.gitlab.lens-os.system/exports/executables/%:
mkdir -p repos
if [ -d repos/$(@F) ]; then \
cd repos/$(@F); \
......@@ -38,5 +38,5 @@ root/globalpackages/io.gitlab.lens-os.system/executables/%:
git clone https://gitlab.com/lens-os/$(@F).git repos/$(@F); \
fi
cd repos/$(@F); ./build.sh
cp repos/$(@F)/target/debug/$(@F) root/globalpackages/io.gitlab.lens-os.system/executables/$(@F) # Releasing debug version because we're that unstable.
cp repos/$(@F)/target/debug/$(@F) root/globalpackages/io.gitlab.lens-os.system/exports/executables/$(@F) # Releasing debug version because we're that unstable.
0.2.0
\ No newline at end of file
0.3.0
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment