1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

#378 - allow for missing env files as they may be bootstrapped.

This commit is contained in:
Chris Garrett
2020-10-03 16:39:58 -06:00
parent ce4ac97269
commit c6138a0660
5 changed files with 30 additions and 31 deletions

View File

@@ -1,8 +1,8 @@
version: '3'
dotenv: ['include1/.env', 'include1/envs/.env', 'file-does-not-exist']
dotenv: ['../include1/.env', '../include1/envs/.env']
tasks:
default:
cmds:
- echo "INCLUDE1='$INCLUDE1' INCLUDE2='$INCLUDE2'" > include-errors1.txt
- echo "INCLUDE1='$INCLUDE1' INCLUDE2='$INCLUDE2'" > include.txt

View File

@@ -1,7 +1,7 @@
version: '3'
includes:
include1: './include1'
include1: '../include1'
tasks:
default:

View File

@@ -1,6 +1,6 @@
version: '3'
dotenv: ['include1/.env', 'include1/envs/.env']
dotenv: ['.env']
tasks:
default: