Skip to content

Commit

Permalink
logger: Fixed missing sounds folder
Browse files Browse the repository at this point in the history
Fixes #281
  • Loading branch information
flamewave000 committed Jan 4, 2022
1 parent 68eb4db commit 2c7a7c6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions df-logger/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# DF User Logger

## Release 1.6.6 (2022-01-04)
- **FIX #281:** Sounds folder was missing for previous release.

## Release 1.6.5 (2022-01-02)
- **NEW #274:** Japanese Localization: Courtesy of [BrotherSharper](https://github.com/BrotherSharper).

Expand Down
4 changes: 2 additions & 2 deletions df-logger/module.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "df-logger",
"title": "DF User Logger",
"version": "1.6.5",
"version": "1.6.6",
"description": "Prints a simple message whenever a user logs-in/out of FoundryVTT",
"author": "flamewave000#0001",
"minimumCoreVersion": "0.8.8",
"compatibleCoreVersion": "0.8.9",
"compatibleCoreVersion": "9",
"esmodules": "{{sources}}",
"styles": "{{css}}",
"languages": [
Expand Down
7 changes: 7 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const SOURCE = 'src/';
const LIBS = 'libs/';
const LANG = 'lang/';
const PACKS = 'packs/';
const SOUNDS = 'sounds/';
const TEMPLATES = 'templates/';
const CSS = 'css/';
const LICENSE = '../LICENSE';
Expand Down Expand Up @@ -158,6 +159,7 @@ function buildManifest(output = null) {
exports.step_buildManifest = buildManifest();

function outputLanguages(output = null) { return desc('output Languages', () => gulp.src(LANG + GLOB).pipe(jsonminify()).pipe(gulp.dest((output || DIST) + LANG))); }
function outputSoundsDir(output = null) { return desc('output Sounds', () => gulp.src(SOUNDS + GLOB).pipe(gulp.dest((output || DIST) + SOUNDS))); }
function outputTemplates(output = null) { return desc('output Templates', () => gulp.src(TEMPLATES + GLOB).pipe(replace(/\t/g, '')).pipe(replace(/\>\n\</g, '><')).pipe(gulp.dest((output || DIST) + TEMPLATES))); }
function outputStylesCSS(output = null) { return desc('output Styles CSS', () => gulp.src(CSS + GLOB).pipe(sass({ outputStyle: process.argv.includes('--min') ? 'compressed' : undefined })).pipe(concat(PACKAGE.name + '.css')).pipe(gulp.dest((output || DIST) + CSS))); }
function outputMetaFiles(output = null) { return desc('output Meta Files', () => gulp.src([LICENSE, 'README.md', 'CHANGELOG.md']).pipe(gulp.dest((output || DIST)))); }
Expand Down Expand Up @@ -198,6 +200,7 @@ exports.default = gulp.series(
, gulp.parallel(
buildSource()
, outputLanguages()
, outputSoundsDir()
, outputTemplates()
, outputStylesCSS()
, outputMetaFiles()
Expand All @@ -216,6 +219,7 @@ exports.dev = gulp.series(
gulp.parallel(
buildSource(DEV_DIST())
, outputLanguages(DEV_DIST())
, outputSoundsDir(DEV_DIST())
, outputTemplates(DEV_DIST())
, outputStylesCSS(DEV_DIST())
, outputMetaFiles(DEV_DIST())
Expand All @@ -234,6 +238,7 @@ exports.zip = gulp.series(
, gulp.parallel(
buildSource()
, outputLanguages()
, outputSoundsDir()
, outputTemplates()
, outputStylesCSS()
, outputMetaFiles()
Expand All @@ -255,6 +260,7 @@ exports.watch = function () {
gulp.watch(SOURCE + GLOB, gulp.series(pdel(DIST + SOURCE), buildSource(), pnotify('Default distribution build completed.', 'Build Complete')));
gulp.watch([CSS + GLOB, 'module.json'], buildManifest());
gulp.watch(LANG + GLOB, gulp.series(pdel(DIST + LANG), outputLanguages()));
gulp.watch(SOUNDS + GLOB, gulp.series(pdel(DIST + SOUNDS), outputSoundsDir()));
gulp.watch(TEMPLATES + GLOB, gulp.series(pdel(DIST + TEMPLATES), outputTemplates()));
gulp.watch(CSS + GLOB, gulp.series(pdel(DIST + CSS), outputStylesCSS()));
gulp.watch([LICENSE, 'README.md', 'CHANGELOG.md'], outputMetaFiles());
Expand All @@ -271,6 +277,7 @@ exports.devWatch = function () {
gulp.watch(SOURCE + GLOB, gulp.series(pdel([devDist + SOURCE + GLOB, DIST + SOURCE + GLOB], { force: true }), buildSource(devDist), copyDevDistToLocalDist, pnotify('Development distribution build completed.', 'Dev Build Complete')));
gulp.watch([CSS + GLOB, 'module.json'], gulp.series(reloadPackage, buildManifest(devDist), plog('manifest done.')));
gulp.watch(LANG + GLOB, gulp.series(pdel(devDist + LANG + GLOB, { force: true }), outputLanguages(devDist), plog('langs done.')));
gulp.watch(SOUNDS + GLOB, gulp.series(pdel(devDist + SOUNDS + GLOB, { force: true }), outputSoundsDir(devDist), plog('sounds done.')));
gulp.watch(TEMPLATES + GLOB, gulp.series(pdel(devDist + TEMPLATES + GLOB, { force: true }), outputTemplates(devDist), plog('templates done.')));
gulp.watch(CSS + GLOB, gulp.series(pdel(devDist + CSS + GLOB, { force: true }), outputStylesCSS(devDist), plog('css done.')));
gulp.watch([LICENSE, 'README.md', 'CHANGELOG.md'], gulp.series(outputMetaFiles(devDist), plog('metas done.')));
Expand Down

0 comments on commit 2c7a7c6

Please sign in to comment.