38 lines
951 B
INI
38 lines
951 B
INI
|
|
# The Cargo-Make <https://github.com/sagiegurari/cargo-make> file used to interact with the repository
|
|
|
|
# DNM(Krey): UNTESTED!!
|
|
|
|
|
|
[tasks.deploy]
|
|
description = "Command used to deploy the environment on system defined in environment variables `$HOSTNAME` and `$DOMAIN`"
|
|
category = "deployment"
|
|
# FIXME-QA(Krey): Convert this on `command` and `args`
|
|
script = '''
|
|
#!@shell
|
|
guix system --keep-going reconfigure \
|
|
src/default.scm
|
|
'''
|
|
|
|
[tasks.test]
|
|
description = "Test the current configuration without deploying it"
|
|
category = "deployment"
|
|
# FIXME-QA(Krey): Convert this on `command` and `args`
|
|
script = '''
|
|
#!@shell
|
|
guix system build \
|
|
--dry-run ./src/default.scm
|
|
'''
|
|
|
|
### EDITORS ###
|
|
[tasks.editors-emacs]
|
|
description = "Opens emacs in the standardized environment on supported Operating Systems"
|
|
category = "editors"
|
|
script = '''
|
|
#!@shell
|
|
|
|
# DNR(Krey): Check for the system
|
|
guix shell \
|
|
-m "$projectEditorsDir/emacs/guix/manifest.scm"
|
|
'''
|