@yannosay/sinth 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/sinth.ts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yannosay/sinth",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "A declarative language that compiles to pure HTML, CSS, and JavaScript.",
5
5
  "author": "Yannosay Productions",
6
6
  "license": "AGPL-3.0",
package/src/sinth.ts CHANGED
@@ -1893,6 +1893,11 @@ async function main(): Promise<void> {
1893
1893
  process.stdout.write(` \x1b[32m✓\x1b[0m libraries/ → ${path.relative(cwd, libOut)}/\n`);
1894
1894
  }
1895
1895
 
1896
+ process.stdout.write(`\n\x1b[1mBuilt ${built} page(s)\x1b[0m${hadError ? " with errors" : ""}\n`);
1897
+ process.exit(hadError ? 1 : 0);
1898
+ break;
1899
+ }
1900
+
1896
1901
  case "dev": {
1897
1902
  const fileArgs = cleanArgs.filter(a => a.endsWith(".sinth"));
1898
1903
  const files = fileArgs.length > 0