Skip to content
Snippets Groups Projects
Commit 841da059 authored by bpresles's avatar bpresles
Browse files

Bumped version number to 1.4.8. Updated remove_code script to still remove...

Bumped version number to 1.4.8. Updated remove_code script to still remove comments and inject ng annotation for OS X and iOS
parent d6c1ed73
No related branches found
No related tags found
1 merge request!600Feature/macos support
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="104007" id="fr.duniter.cesium" ios-CFBundleIdentifier="org.duniter.cesium" version="1.4.7" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget android-versionCode="104008" id="fr.duniter.cesium" ios-CFBundleIdentifier="org.duniter.cesium" version="1.4.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Cesium</name> <name>Cesium</name>
<description> <description>
An simple App for Duniter wallet An simple App for Duniter wallet
......
...@@ -19,11 +19,6 @@ if (rootdir) { ...@@ -19,11 +19,6 @@ if (rootdir) {
var platform = platforms[x].trim().toLowerCase(); var platform = platforms[x].trim().toLowerCase();
// Do not remove desktop code for iOS and macOS (support for tablets and desktop macs)
if (platform === 'ios' || platform === 'osx') {
continue;
}
var wwwPath; var wwwPath;
if(platform == 'android') { if(platform == 'android') {
wwwPath = path.join(rootdir, 'platforms', platform, 'assets', 'www'); wwwPath = path.join(rootdir, 'platforms', platform, 'assets', 'www');
...@@ -42,6 +37,8 @@ if (rootdir) { ...@@ -42,6 +37,8 @@ if (rootdir) {
var htmlminOptions = {removeComments: true, collapseWhitespace: true}; var htmlminOptions = {removeComments: true, collapseWhitespace: true};
// Do not remove desktop code for iOS and macOS (support for tablets and desktop macs)
if (platform !== 'ios' && platform !== 'osx') {
// Removing unused code for device... // Removing unused code for device...
es.concat( es.concat(
// Remove unused HTML tags // Remove unused HTML tags
...@@ -85,6 +82,27 @@ if (rootdir) { ...@@ -85,6 +82,27 @@ if (rootdir) {
.pipe(ngAnnotate({single_quotes: true})) .pipe(ngAnnotate({single_quotes: true}))
.pipe(gulp.dest(wwwPath + '/dist/dist_js/plugins')) .pipe(gulp.dest(wwwPath + '/dist/dist_js/plugins'))
); );
} else {
es.concat(
gulp.src(path.join(wwwPath, 'templates', '**', '*.html'))
.pipe(htmlmin(htmlminOptions))
.pipe(gulp.dest(wwwPath + '/templates')),
gulp.src(path.join(pluginPath, '**', '*.html'))
.pipe(htmlmin(htmlminOptions))
.pipe(gulp.dest(pluginPath)),
gulp.src(path.join(wwwPath, 'index.html'))
.pipe(gulp.dest(wwwPath)),
gulp.src(path.join(wwwPath, 'js', '**', '*.js'))
.pipe(ngAnnotate({single_quotes: true}))
.pipe(gulp.dest(wwwPath + '/dist/dist_js/app')),
gulp.src([pluginPath + '/js/**/*.js'])
.pipe(gulp.dest(wwwPath + '/dist/dist_js/plugins'))
);
}
} }
} }
...@@ -15,7 +15,7 @@ if [ "_$CESIUM_DIR" = "_" ]; then ...@@ -15,7 +15,7 @@ if [ "_$CESIUM_DIR" = "_" ]; then
fi fi
latest_version() { latest_version() {
echo "v1.4.7" #lastest echo "v1.4.8" #lastest
} }
api_release_url() { api_release_url() {
......
{ {
"name": "cesium", "name": "cesium",
"version": "1.4.7", "version": "1.4.8",
"description": "Cesium Wallet for G1 libre currency", "description": "Cesium Wallet for G1 libre currency",
"repository": { "repository": {
"type": "git", "type": "git",
......
...@@ -93,8 +93,8 @@ angular.module("cesium.config", []) ...@@ -93,8 +93,8 @@ angular.module("cesium.config", [])
"defaultCountry": "France" "defaultCountry": "France"
} }
}, },
"version": "1.4.7", "version": "1.4.8",
"build": "2019-10-28T13:25:36.444Z", "build": "2019-10-28T15:15:43.927Z",
"newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new" "newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new"
}) })
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"short_name": "Cesium", "short_name": "Cesium",
"name": "Cesium", "name": "Cesium",
"manifest_version": 1, "manifest_version": 1,
"version": "1.4.7", "version": "1.4.8",
"default_locale": "fr", "default_locale": "fr",
"description": "Manage your Duniter Wallet on a libre currency, like Ğ1", "description": "Manage your Duniter Wallet on a libre currency, like Ğ1",
"icons": [ "icons": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment