Commit d287a1fc authored by Pietro Saccardi's avatar Pietro Saccardi
Browse files

Removing make file and updating image settings

parent e3443c2f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3,11 +3,14 @@ stages:

build:less:
  stage: build
  image: appleboy/node-less
  image: node:8.0.0-alpine
  variables:
    PLUGIN_NAME: MittelTheme
    LESS_SRC: Template/css/app.less
    LESS_OUTPUT: Template/css/main.css
  before_script:
    - yarn global add less
    - yarn global add less-plugin-clean-css
  script:
    - /usr/local/bin/lessc "${LESS_SRC}" > "${LESS_OUTPUT}"
    - git archive HEAD --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip"

Makefile

deleted100644 → 0
+0 −4
Original line number Diff line number Diff line
PLUGIN_NAME = MittelTheme

all:
	@ git archive HEAD --prefix=${PLUGIN_NAME}/ --format=zip -o ${PLUGIN_NAME}.zip