From 533e294a119fee7ad1b70ca4318d3c23aaed9791 Mon Sep 17 00:00:00 2001 From: mik-tf Date: Wed, 2 Oct 2024 12:23:41 -0400 Subject: [PATCH] added makefile --- .gitignore | 3 +-- Makefile | 5 +++++ README.md | 9 +++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index 33b74d3..6b7ce1b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -flist -Makefile \ No newline at end of file +flist \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1f06351 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +build: + sudo rm flist + sudo flist uninstall + v -o flist . + sudo ./flist install \ No newline at end of file diff --git a/README.md b/README.md index da48288..50dae57 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ - [Installation](#installation) - [Prerequisites](#prerequisites) - [Building and Installing](#building-and-installing) + - [Rebuild Locally](#rebuild-locally) - [Usage](#usage) - [OS-Specific Instructions](#os-specific-instructions) - [Windows](#windows) @@ -42,6 +43,14 @@ Flist CLI is a tool that turns Dockerfiles and Docker images directly into Flist This will copy the `flist` executable to the appropriate system location. +### Rebuild Locally + +You can use the Makefile command to deploy on Linux: + +``` +make build +``` + ## Usage After installation, you can use the `flist` command followed by various subcommands: