Provide an opt in js tooling system by adding a node env with prettier and eslint configured. 3 bash scripts are provided: enable.sh, disable.sh and reload.sh. Enable.sh: add to the community root (and optionaly to the enterprise root) the env. Disable.sh: remove the env. Reload.sh: disable then enable.
8 lines
97 B
Bash
Executable File
8 lines
97 B
Bash
Executable File
#!/bin/bash
|
|
|
|
script="$0"
|
|
basename="$(dirname $script)"
|
|
|
|
$basename/disable.sh
|
|
$basename/enable.sh
|