21 lines
1.3 KiB
YAML
Executable File
21 lines
1.3 KiB
YAML
Executable File
cmd: 'echo "Pick a command (see .atom-build.yml)"'
|
|
name: ''
|
|
targets:
|
|
# Fedora
|
|
Run silently in fedora:
|
|
cmd: 'buildWrapper podmanRunEasy -m ephemeral -i fedora:latest -n bw-fedora-test -w {FILE_ACTIVE_PATH} --silent --mkexec {FILE_ACTIVE}'
|
|
Run debug in fedora:
|
|
cmd: 'buildWrapper podmanRunEasy -m ephemeral -i fedora:latest -n bw-fedora-test -w {FILE_ACTIVE_PATH} --debug --mkexec {FILE_ACTIVE}'
|
|
# PHP
|
|
Run silently with php:
|
|
cmd: 'buildWrapper podmanRunEasy -m ephemeral -i php:latest -n bw-php-test -w {FILE_ACTIVE_PATH} --silent --mkexec {FILE_ACTIVE}'
|
|
Run debug with php:
|
|
cmd: 'buildWrapper podmanRunEasy -m ephemeral -i php:latest -n bw-php-test -w {FILE_ACTIVE_PATH} --debug --mkexec {FILE_ACTIVE}'
|
|
# Jekyll
|
|
Run jekyll serve:
|
|
cmd: 'buildWrapper podmanRunWrapper -m ephemeral -o "-it -p 4000:4000 -v {FILE_ACTIVE_PATH}:/srv/jekyll -v {FILE_ACTIVE_PATH}/vendor/bundle:/usr/local/bundle" -i jekyll/jekyll -n "bw-jekyll-serve-test" "bundle exec jekyll serve --watch --drafts"'
|
|
# Bundle
|
|
Run bundle update:
|
|
cmd: 'buildWrapper podmanRunWrapper -m ephemeral -o "-it -v {FILE_ACTIVE_PATH}:/srv/jekyll -v {FILE_ACTIVE_PATH}/vendor/bundle:/usr/local/bundle" -i jekyll/jekyll -n "bw-jekyll-bundle-update-test" --selinuxfix "chmod a+w /srv/jekyll/Gemfile.lock && bundle update --all"'
|
|
# Please add more!
|