mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
feat: copy .editorconfig during installation
This commit is contained in:
9
scripts/postinstall.sh
Executable file
9
scripts/postinstall.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if [[ ! -d "$INIT_CWD/node_modules/@openstapps/configuration/" ]]; then
|
||||
exit;
|
||||
fi;
|
||||
|
||||
echo "Copying .editorconfig from @openstapps/configuration to this project."
|
||||
|
||||
cp "$INIT_CWD/node_modules/@openstapps/configuration/.editorconfig" "$INIT_CWD/.editorconfig"
|
||||
Reference in New Issue
Block a user