Skip to content

Commit

Permalink
revert double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
surjithctly committed Aug 17, 2021
1 parent d904981 commit c6e4f6d
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions compile-templates.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const path = require("path");
const pkg = require("./package.json");
const path = require('path');
const pkg = require('./package.json');

const TemplatedBuilder = require("./builder/templated");
const AseBuilder = require("./builder/ase");
const CraftLibraryBuilder = require("./builder/craft-library");
const GVSwatchBuilder = require("./builder/gvswatch");
const TemplatedBuilder = require('./builder/templated');
const AseBuilder = require('./builder/ase');
const CraftLibraryBuilder = require('./builder/craft-library');
const GVSwatchBuilder = require('./builder/gvswatch');

const COLORS_FILE = path.join(__dirname, "open-color.json");
const COLORS_FILE = path.join(__dirname, 'open-color.json');

const colors = require(COLORS_FILE);

Expand All @@ -18,100 +18,100 @@ const craftLibraryBuilder = new CraftLibraryBuilder(
);
const gvswatchBuilder = new GVSwatchBuilder(colors, pkg.version);

templatedBuilder.build("_config.yml", [
path.join(__dirname, "docs", "_config.yml"),
templatedBuilder.build('_config.yml', [
path.join(__dirname, 'docs', '_config.yml'),
]);
templatedBuilder.build("open-color.scss", [
path.join(__dirname, "open-color.scss"),
path.join(__dirname, "docs", "_sass", "_open-color.scss"),
templatedBuilder.build('open-color.scss', [
path.join(__dirname, 'open-color.scss'),
path.join(__dirname, 'docs', '_sass', '_open-color.scss'),
]);
templatedBuilder.build("open-color.css", [
path.join(__dirname, "open-color.css"),
templatedBuilder.build('open-color.css', [
path.join(__dirname, 'open-color.css'),
]);
templatedBuilder.build("open-color.js", [
path.join(__dirname, "open-color.js"),
templatedBuilder.build('open-color.js', [
path.join(__dirname, 'open-color.js'),
]);
templatedBuilder.build("open-color.less", [
path.join(__dirname, "open-color.less"),
templatedBuilder.build('open-color.less', [
path.join(__dirname, 'open-color.less'),
]);
templatedBuilder.build("open-color.styl", [
path.join(__dirname, "open-color.styl"),
templatedBuilder.build('open-color.styl', [
path.join(__dirname, 'open-color.styl'),
]);
templatedBuilder.build("open-color.svg", [
path.join(__dirname, "docs", "asset", "images", "open-color.svg"),
templatedBuilder.build('open-color.svg', [
path.join(__dirname, 'docs', 'asset', 'images', 'open-color.svg'),
]);
templatedBuilder.build("open-color.tex", [
path.join(__dirname, "open-color.tex"),
templatedBuilder.build('open-color.tex', [
path.join(__dirname, 'open-color.tex'),
]);

templatedBuilder.build("open-color.sketchpalette", [
templatedBuilder.build('open-color.sketchpalette', [
path.join(
__dirname,
"docs",
"asset",
"download",
'docs',
'asset',
'download',
`open-color_${pkg.version}.sketchpalette`
),
]);

templatedBuilder.build("open-color.inkscape", [
templatedBuilder.build('open-color.inkscape', [
path.join(
__dirname,
"docs",
"asset",
"download",
'docs',
'asset',
'download',
`open-color_${pkg.version}.gpl`
),
]);

templatedBuilder.build("open-color.code-snippets", [
templatedBuilder.build('open-color.code-snippets', [
path.join(
__dirname,
"docs",
"asset",
"download",
'docs',
'asset',
'download',
`open-color_${pkg.version}.code-snippets`
),
]);

aseBuilder.build("ase", [
aseBuilder.build('ase', [
path.join(
__dirname,
"docs",
"asset",
"download",
'docs',
'asset',
'download',
`open-color_${pkg.version}.ase`
),
]);

craftLibraryBuilder.build([
path.join(
__dirname,
"docs",
"asset",
"download",
'docs',
'asset',
'download',
`open-color_${pkg.version}.library`
),
]);

gvswatchBuilder.build([
path.join(
__dirname,
"docs",
"asset",
"download",
'docs',
'asset',
'download',
`open-color_${pkg.version}.gvswatch`
),
]);

templatedBuilder.build("open-color.oco", [
path.join(__dirname, "open-color.oco"),
templatedBuilder.build('open-color.oco', [
path.join(__dirname, 'open-color.oco'),
]);

templatedBuilder.build("open-color.rcpx", [
path.join(__dirname, "open-color.rcpx"),
templatedBuilder.build('open-color.rcpx', [
path.join(__dirname, 'open-color.rcpx'),
]);

templatedBuilder.build("open-color.d.ts", [
path.join(__dirname, "open-color.d.ts"),
]);
templatedBuilder.build('open-color.d.ts', [
path.join(__dirname, 'open-color.d.ts'),
]);

0 comments on commit c6e4f6d

Please sign in to comment.