Skip to content
Permalink
Browse files
chore: remove support for ubuntu platform (#111)
  • Loading branch information
raphinesse committed Nov 27, 2019
1 parent 1a76138 commit 2021a39a9eaf473424eafe20e0e126b587933359
Showing 2 changed files with 1 addition and 8 deletions.
@@ -77,11 +77,6 @@ describe('ConfigFile tests', function () {
expect(configFile.resolveConfigFilePath('project_dir', 'osx', 'config.xml')).toBe(configPath);
});

it('resolveConfigFilePath should return file path', function () {
var configPath = path.join('project_dir', 'config.xml');
expect(configFile.resolveConfigFilePath('project_dir', 'ubuntu', 'config.xml')).toBe(configPath);
});

it('resolveConfigFilePath should return file path', function () {
var file = path.join('res', 'xml');
var configPath = path.join('project_dir', 'app', 'src', 'main', file, 'xml');
@@ -211,9 +211,7 @@ function resolveConfigFilePath (project_dir, platform, file) {
// be resolved to the real location of the file.
// TODO: Move this out of cordova-common into platforms
if (file === 'config.xml') {
if (platform === 'ubuntu') {
filepath = path.join(project_dir, 'config.xml');
} else if (platform === 'ios' || platform === 'osx') {
if (platform === 'ios' || platform === 'osx') {
filepath = path.join(
project_dir,
module.exports.getIOSProjectname(project_dir),

0 comments on commit 2021a39

Please sign in to comment.