Skip to content

Commit

Permalink
Revert "Merge pull request #1680 from acquia/ACMS-2008-2.x-gin-admin-…
Browse files Browse the repository at this point in the history
…theme"

This reverts commit d7183f3, reversing
changes made to 934a751.
  • Loading branch information
vishalkhode1 committed Oct 29, 2024
1 parent eca6882 commit 6033638
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,11 @@ The Acquia CMS profile contains both core and module-specific Site Studio Sync P

To update Site Studio configuration, you can run the `drush acms:config-reset` command and follow the instructions. Note that this will overwrite *any* changes you've made to the default ACMS configuration for Site Studio, and may affect your site in unexpected ways. *You should test using this command in a non-production environment before running it in production.*

### Updating Acquia Claro theming
* Update SCSS as per requirement in Acquia Claro theme.
* Use `composer install:frontend` and `composer build:frontend` to compile SCSS into CSS.
* Commit both CSS and SCSS files.

### Contributing to Acquia CMS

Refer to our [Contributor's guide](/CONTRIBUTING.md).
Expand Down
5 changes: 5 additions & 0 deletions acms-run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ case $OSTYPE in
;;
esac

# Compile scss and run css analysis tests.
echo -e "${GREEN} Installing npm & analysing css ${NOCOLOR}"
# Install npm & run front end gulp task test.
cd docroot/themes/contrib/acquia_claro && npm install && npm run test && cd -

# Run code quality checks.
vendor/bin/grumphp run

Expand Down
7 changes: 7 additions & 0 deletions acquia-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ events:
- mkdir -p docroot/profiles/acquia_cms
- composer archive --format zip --file acquia_cms
- unzip acquia_cms.zip -d docroot/profiles/acquia_cms
- front-end:
type: script
script:
- cd docroot/themes/contrib/acquia_claro
- npm install
- npm run build
- cd -
- cleanup:
type: script
script:
Expand Down
8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@
"acms:install": [
"bash install-acms"
],
"build:frontend": [
"Composer\\Config::disableProcessTimeout",
"cd docroot/themes/contrib/acquia_claro && npm run build"
],
"build:local": [
"cp -f phpunit.xml ./docroot/core"
],
Expand All @@ -160,6 +164,10 @@
"rm -rf $TMPDIR/cex"
],
"configure-tarball": "Drupal\\acquia_cms\\Composer\\ConfigureProject::execute",
"install:frontend": [
"Composer\\Config::disableProcessTimeout",
"cd docroot/themes/contrib/acquia_claro && npm install"
],
"nuke": "rm -r -f docroot vendor"
}
}

0 comments on commit 6033638

Please sign in to comment.