From ce8016c89c2219191d942dae92e58e06ba30519e Mon Sep 17 00:00:00 2001 From: Navneel Mandal <34075042+navneel99@users.noreply.github.com> Date: Wed, 31 Jul 2024 00:43:48 +0530 Subject: [PATCH] chore: use `.env` instead of `Makefile.variable` (#6) ## Summary Renaming all occurences of `Makefile.variable` with `.env` since that is the more standard approach. --- Makefile.variable.example => .env.example | 0 .gitignore | 2 +- Makefile | 6 +++--- README.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename Makefile.variable.example => .env.example (100%) diff --git a/Makefile.variable.example b/.env.example similarity index 100% rename from Makefile.variable.example rename to .env.example diff --git a/.gitignore b/.gitignore index e1908eb..24a18ae 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,4 @@ build.tar.gz nohup.out -Makefile.variable +.env diff --git a/Makefile b/Makefile index 5146ce3..a0d8238 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -include Makefile.variable +include .env -# export values in Makefile.variable to be used in the shell scripts -export $(shell sed 's/=.*//' Makefile.variable) +# export values in .env to be used in the shell scripts +export $(shell sed 's/=.*//' .env) default: $(MAKE) build diff --git a/README.md b/README.md index 92dd7c7..ae3a321 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ This GitHub repository provides a template with example code to implement an Air 2\. Open the project in your IDE and set up project environment variables, by following these steps: -- Rename `Makefile.variable.example` to `Makefile.variable`. -- In `Makefile.variable` set the slug of your organization, and your email. +- Rename `.env.example` to `.env`. +- In `.env` set the slug of your organization, and your email. 4\. Build the Snap-in using the following command: