Skip to content

Commit

Permalink
feat: remove makefile generators
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Aug 21, 2023
1 parent d6dfed7 commit 7b060ac
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 165 deletions.
111 changes: 0 additions & 111 deletions generators/makefile/index.js

This file was deleted.

35 changes: 0 additions & 35 deletions generators/makefile/templates/CMakeLists.txt.in

This file was deleted.

14 changes: 0 additions & 14 deletions generators/makefile/templates/xmake.lua.in

This file was deleted.

2 changes: 0 additions & 2 deletions lib/compiler.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
const path = require("path");
const I18nConfigCompiler = require("../compilers/i18n");
const ResourceCompiler = require("../compilers/resource");
const RouterConfigCompiler = require("../compilers/router");

const compilers = {
i18n: I18nConfigCompiler,
router: RouterConfigCompiler,
resource: ResourceCompiler,
};
Expand Down
2 changes: 0 additions & 2 deletions lib/generator.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
const WidgetGenerator = require('../generators/widget');
const ViewGenerator = require('../generators/view');
const MakefileGenerator = require('../generators/makefile');

const generators = {
widget: WidgetGenerator,
view: ViewGenerator,
makefile: MakefileGenerator,
};

function generate(type, name) {
Expand Down
1 change: 0 additions & 1 deletion lib/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ function installDependencies() {
function generateMakefiles() {
logger.log(`\n${chalk.grey('[setup::makefiles]')}`);
generate('makefile', 'xmake');
generate('makefile', 'cmake');
}

function setup() {
Expand Down

0 comments on commit 7b060ac

Please sign in to comment.