Pushed to version 0.1.8. Details in changelog. (Makefile, FontAwesome, sass)
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,2 +1,4 @@
|
||||
/assets/scss/style.css
|
||||
/assets/scss/style.css.map
|
||||
/assets/sass/*.css
|
||||
*.map
|
||||
/OgreAlert
|
||||
OgreAlert.zip
|
||||
|
||||
@@ -7,13 +7,16 @@
|
||||
"target": "public_html/wp-content/plugins/OgreAlert",
|
||||
"ignore": [
|
||||
".remote-sync.json",
|
||||
".git/**"
|
||||
".git/**",
|
||||
"Makefile",
|
||||
"OgreAlert/**",
|
||||
"OgreAlert.zip"
|
||||
],
|
||||
"username": "template",
|
||||
"password": "?,GtD}MtPgF&",
|
||||
"watch": [
|
||||
"/assets/scss/style.css",
|
||||
"/assets/scss/style.css.map"
|
||||
"/assets/sass/style.css",
|
||||
"/assets/sass/style.css.map"
|
||||
],
|
||||
"transport": "scp"
|
||||
}
|
||||
}
|
||||
|
||||
31
Makefile
Normal file
31
Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
PACKAGE = OgreAlert
|
||||
DIR = ./$(PACKAGE)
|
||||
|
||||
all: $(PACKAGE).zip
|
||||
|
||||
$(PACKAGE).zip: clean dir copy zip
|
||||
|
||||
dir:
|
||||
mkdir $(DIR)
|
||||
|
||||
copy:
|
||||
cp -RT ./assets $(DIR)/assets
|
||||
cp -RT ./inc $(DIR)/inc
|
||||
cp -RT ./lib $(DIR)/lib
|
||||
cp -RT ./templates $(DIR)/templates
|
||||
cp -f ./* $(DIR) || true
|
||||
|
||||
rm $(DIR)/Makefile
|
||||
rm $(DIR)/$(PACKAGE).zip || true
|
||||
|
||||
rm -r $(DIR)/assets/sass/lib
|
||||
rm $(DIR)/assets/sass/*.scss
|
||||
rm $(DIR)/assets/sass/*.map
|
||||
|
||||
zip:
|
||||
zip -r ./$(PACKAGE).zip $(DIR)
|
||||
rm -r $(DIR) || true
|
||||
|
||||
clean:
|
||||
rm -r $(DIR) || true
|
||||
rm ./$(PACKAGE).zip || true
|
||||
@@ -22,8 +22,7 @@
|
||||
eot: "#{$file-path}.eot?#iefix" format("embedded-opentype"),
|
||||
woff2: "#{$file-path}.woff2" format("woff2"),
|
||||
woff: "#{$file-path}.woff" format("woff"),
|
||||
ttf: "#{$file-path}.ttf" format("truetype"),
|
||||
svg: "#{$file-path}.svg##{$font-family}" format("svg")
|
||||
ttf: "#{$file-path}.ttf" format("truetype")
|
||||
);
|
||||
|
||||
@each $key, $values in $formats-map {
|
||||
@@ -13,8 +13,7 @@
|
||||
src: url('#{$fa-font-path}/fa-brands-400.eot?#iefix') format('embedded-opentype'),
|
||||
url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-brands-400.woff') format('woff'),
|
||||
url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype'),
|
||||
url('#{$fa-font-path}/fa-brands-400.svg#fontawesome') format('svg');
|
||||
url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype');
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -13,8 +13,7 @@
|
||||
src: url('#{$fa-font-path}/fa-light-300.eot?#iefix') format('embedded-opentype'),
|
||||
url('#{$fa-font-path}/fa-light-300.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-light-300.woff') format('woff'),
|
||||
url('#{$fa-font-path}/fa-light-300.ttf') format('truetype'),
|
||||
url('#{$fa-font-path}/fa-light-300.svg#fontawesome') format('svg');
|
||||
url('#{$fa-font-path}/fa-light-300.ttf') format('truetype');
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -13,8 +13,7 @@
|
||||
src: url('#{$fa-font-path}/fa-regular-400.eot?#iefix') format('embedded-opentype'),
|
||||
url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-regular-400.woff') format('woff'),
|
||||
url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype'),
|
||||
url('#{$fa-font-path}/fa-regular-400.svg#fontawesome') format('svg');
|
||||
url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype');
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -13,8 +13,7 @@
|
||||
src: url('#{$fa-font-path}/fa-solid-900.eot?#iefix') format('embedded-opentype'),
|
||||
url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-solid-900.woff') format('woff'),
|
||||
url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype'),
|
||||
url('#{$fa-font-path}/fa-solid-900.svg#fontawesome') format('svg');
|
||||
url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype');
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1,7 +1,7 @@
|
||||
// Variables
|
||||
// --------------------------
|
||||
|
||||
$fa-font-path: "./lib/fontawesome/webfonts" !default;
|
||||
$fa-font-path: "../webfonts" !default;
|
||||
$fa-font-size-base: 16px !default;
|
||||
$fa-css-prefix: fa !default;
|
||||
$fa-version: "5.2.0" !default;
|
||||
@@ -2,7 +2,7 @@
|
||||
Plugin Name: OgreAlert
|
||||
Plugin URI: https://plugins.cleverogre.com/plugin/ogrealert/
|
||||
Description: OgreAlert is a plugin developed by CleverOgre in Pensacola, Florida.
|
||||
Version: 0.1.7
|
||||
Version: 0.1.8
|
||||
Author: CleverOgre
|
||||
Author URI: https://cleverogre.com/
|
||||
Icon1x: https://plugins.cleverogre.com/plugin/ogrealert/?asset=icon-sm
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user