Skip to content

Commit

Permalink
increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
luciano_bestia committed Feb 9, 2024
1 parent f5026b2 commit 420a412
Show file tree
Hide file tree
Showing 8 changed files with 119 additions and 119 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-auto"
version = "2024.209.135"
version = "2024.209.301"
authors = ["bestia.dev"]
homepage = "https://bestia.dev"
edition = "2021"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[//]: # (auto_cargo_toml_to_md start)

**cargo-auto - automation tasks written in Rust language for the build process of Rust projects**
***version: 2024.209.135 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***
***version: 2024.209.301 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***

[//]: # (auto_cargo_toml_to_md end)

Expand All @@ -21,11 +21,11 @@
![Hits](https://bestia.dev/webpage_hit_counter/get_svg_image/959103982.svg)

[//]: # (auto_lines_of_code start)
[![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9179-green.svg)](https://github.com/bestia-dev/cargo-auto/)
[![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-1227-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
[![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9180-green.svg)](https://github.com/bestia-dev/cargo-auto/)
[![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-471-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
[![Lines in Comments](https://img.shields.io/badge/Lines_in_comments-349-purple.svg)](https://github.com/bestia-dev/cargo-auto/)
[![Lines in examples](https://img.shields.io/badge/Lines_in_examples-0-yellow.svg)](https://github.com/bestia-dev/cargo-auto/)
[![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1524-orange.svg)](https://github.com/bestia-dev/cargo-auto/)
[![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1526-orange.svg)](https://github.com/bestia-dev/cargo-auto/)

[//]: # (auto_lines_of_code end)

Expand Down
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! # cargo-auto
//!
//! **cargo-auto - automation tasks written in Rust language for the build process of Rust projects**
//! ***version: 2024.209.135 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***
//! ***version: 2024.209.301 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***
//!
//! ![status](https://img.shields.io/badge/maintained-green)
//! ![status](https://img.shields.io/badge/ready_for_use-green)
Expand All @@ -15,11 +15,11 @@
//! [![Rust](https://github.com/bestia-dev/cargo-auto/workflows/rust_fmt_auto_build_test/badge.svg)](https://github.com/bestia-dev/cargo-auto/)
//! ![Hits](https://bestia.dev/webpage_hit_counter/get_svg_image/959103982.svg)
//!
//! [![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9179-green.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-1227-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9180-green.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-471-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Comments](https://img.shields.io/badge/Lines_in_comments-349-purple.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in examples](https://img.shields.io/badge/Lines_in_examples-0-yellow.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1524-orange.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1526-orange.svg)](https://github.com/bestia-dev/cargo-auto/)
//!
//! Hashtags: #rustlang #tutorial #buildtool #developmenttool #cli
//! My projects on GitHub are more like a tutorial than a finished product: [bestia-dev tutorials](https://github.com/bestia-dev/tutorials_rust_wasm).
Expand Down
8 changes: 4 additions & 4 deletions src/template_new_cli_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ fn upper_greet_name(greet_name: &str) -> anyhow::Result<()> {
//! # cargo-auto
//!
//! **cargo-auto - automation tasks written in Rust language for the build process of Rust projects**
//! ***version: 2024.209.135 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***
//! ***version: 2024.209.301 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***
//!
//! ![status](https://img.shields.io/badge/maintained-green)
//! ![status](https://img.shields.io/badge/ready_for_use-green)
Expand All @@ -435,11 +435,11 @@ fn upper_greet_name(greet_name: &str) -> anyhow::Result<()> {
//! [![Rust](https://github.com/bestia-dev/cargo-auto/workflows/rust_fmt_auto_build_test/badge.svg)](https://github.com/bestia-dev/cargo-auto/)
//! ![Hits](https://bestia.dev/webpage_hit_counter/get_svg_image/959103982.svg)
//!
//! [![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9179-green.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-1227-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9180-green.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-471-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Comments](https://img.shields.io/badge/Lines_in_comments-349-purple.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in examples](https://img.shields.io/badge/Lines_in_examples-0-yellow.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1524-orange.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1526-orange.svg)](https://github.com/bestia-dev/cargo-auto/)
//!
//! Hashtags: #rustlang #tutorial #buildtool #developmenttool #cli
//! My projects on GitHub are more like a tutorial than a finished product: [bestia-dev tutorials](https://github.com/bestia-dev/tutorials_rust_wasm).
Expand Down
131 changes: 64 additions & 67 deletions src/template_new_pwa_wasm_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ So I can drink a free beer for your health :-)
// but the new service worker will not be activated until all
// tabs with this webapp are closed.

const CACHE_NAME = '2024.209.135';
const CACHE_NAME = '2024.209.300';

self.addEventListener('install', event => {
console.log('event install ', CACHE_NAME);
Expand Down Expand Up @@ -459,74 +459,71 @@ self.addEventListener('fetch', event => {
file_content: r###"<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.6.0">
<!-- classic header for a web page -->
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>pwa_name</title>
<meta name="Description" content="pwa_description">
<meta name="author" content="project_author">
<meta name="viewport" content=
"width = device-width,initial-scale = 1.0">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/basic_style.css">
<link rel="stylesheet" href="css/fontawesome.css">
<!-- favicons generic-->
<link rel="icon" type="image/png" href="icons/icon-032.png" sizes=
"32x32">
<link rel="icon" type="image/png" href="icons/icon-128.png" sizes=
"128x128">
<link rel="icon" type="image/png" href="icons/icon-192.png" sizes=
"192x192"><!-- favicons Android -->
<link rel="shortcut icon" href="icons/icon-196.png" sizes=
"196x196"><!-- favicons iOS -->
<link rel="apple-touch-icon" href="icons/icon-152.png" sizes=
"152x152">
<link rel="apple-touch-icon" href="icons/icon-167.png" sizes=
"167x167">
<link rel="apple-touch-icon" href="icons/icon-180.png" sizes=
"180x180"><!-- Metadata for PWA -->
<link rel="manifest" href="manifest.json">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content=
"black-translucent">
<meta name="theme-color" content="#000000">
<link rel="apple-touch-icon" sizes="120x120" href=
"icons/icon-120.png">
<link rel="apple-touch-icon" sizes="180x180" href=
"icons/icon-180.png">
<!-- classic header for a web page -->
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>pwa_name</title>
<meta name="Description" content="pwa_description">
<meta name="author" content="project_author">
<meta name="viewport" content="width = device-width,initial-scale = 1.0" />
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/basic_style.css" />
<link rel="stylesheet" href="css/fontawesome.css" />

<!-- favicons generic-->
<link rel="icon" type="image/png" href="icons/icon-032.png" sizes="32x32">
<link rel="icon" type="image/png" href="icons/icon-128.png" sizes="128x128">
<link rel="icon" type="image/png" href="icons/icon-192.png" sizes="192x192">
<!-- favicons Android -->
<link rel="shortcut icon" href="icons/icon-196.png" sizes="196x196">
<!-- favicons iOS -->
<link rel="apple-touch-icon" href="icons/icon-152.png" sizes="152x152">
<link rel="apple-touch-icon" href="icons/icon-167.png" sizes="167x167">
<link rel="apple-touch-icon" href="icons/icon-180.png" sizes="180x180">

<!-- Metadata for PWA -->
<link rel="manifest" href="manifest.json">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="theme-color" content="#000000">
<link rel="apple-touch-icon" sizes="120x120" href="icons/icon-120.png">
<link rel="apple-touch-icon" sizes="180x180" href="icons/icon-180.png">
</head>
<body>
<!-- a standard service worker is a must for PWA -->
<script src="start_service_worker.js"></script>
<!-- warning if javascript is not enabled -->
<noscript>
<h2>!!!???!!!<br>
This web app<br>
cannot work<br>
without javascript<br>
enabled<br>
!!!???!!!</h2>
</noscript> <!-- display a text while waiting for wasm download.
<!-- a standard service worker is a must for PWA -->
<script src="start_service_worker.js"></script>
<!-- warning if javascript is not enabled -->
<noscript>
<h2>
!!!???!!!<br>
This web app <br>
cannot work <br>
without javascript<br>
enabled<br>
!!!???!!!
</h2>
</noscript>

<!-- display a text while waiting for wasm download.
This content will change from the wasm code.-->
<div id="div_for_wasm_html_injecting">
<h2>Waiting to<br>
download<br>
the web app...<br>
This is<br>
very quick on fast<br>
networks...<br></h2>
</div>
<div class="fc_red" id="div_for_errors"></div>
<!-- import and init the wasm code -->
<script type="module">
<div id="div_for_wasm_html_injecting">
<h2>
Waiting to<br>
download <br>
the web app...<br>
This is <br>
very quick on fast<br>
networks...<br>
</h2>
</div>
<div class="fc_red" id="div_for_errors"></div>
<!-- import and init the wasm code -->
<script type="module">
import init from "./pkg/rust_project_name.js";
init("./pkg/rust_project_name_bg.wasm");
</script>
</script>
</body>
</html>
"###,
</html>"###,
});
vec_file.push(crate::FileItem {
file_name: "web_server_folder/pwa_short_name/manifest.json",
Expand Down Expand Up @@ -7971,7 +7968,7 @@ fn upper_greet_name(greet_name: &str) -> anyhow::Result<()> {
//! # cargo-auto
//!
//! **cargo-auto - automation tasks written in Rust language for the build process of Rust projects**
//! ***version: 2024.209.135 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***
//! ***version: 2024.209.301 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***
//!
//! ![status](https://img.shields.io/badge/maintained-green)
//! ![status](https://img.shields.io/badge/ready_for_use-green)
Expand All @@ -7984,11 +7981,11 @@ fn upper_greet_name(greet_name: &str) -> anyhow::Result<()> {
//! [![Rust](https://github.com/bestia-dev/cargo-auto/workflows/rust_fmt_auto_build_test/badge.svg)](https://github.com/bestia-dev/cargo-auto/)
//! ![Hits](https://bestia.dev/webpage_hit_counter/get_svg_image/959103982.svg)
//!
//! [![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9179-green.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-1227-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9180-green.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-471-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Comments](https://img.shields.io/badge/Lines_in_comments-349-purple.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in examples](https://img.shields.io/badge/Lines_in_examples-0-yellow.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1524-orange.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1526-orange.svg)](https://github.com/bestia-dev/cargo-auto/)
//!
//! Hashtags: #rustlang #tutorial #buildtool #developmenttool #cli
//! My projects on GitHub are more like a tutorial than a finished product: [bestia-dev tutorials](https://github.com/bestia-dev/tutorials_rust_wasm).
Expand Down
77 changes: 40 additions & 37 deletions src/template_new_wasm_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,46 +122,49 @@ So I can drink a free beer for your health :-)
file_name: "web_server_folder/cargo_auto_template_new_wasm/index.html",
file_content: r###"<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.6.0">
<!-- classic header for a web page -->
<title>cargo_auto_template_new_wasm</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="Description" content=
"template for a minimal wasm project for browser">
<meta name="author" content=
"https://github.com/bestia-dev/cargo_auto_template_new_wasm">
<link rel="stylesheet" href="css/basic_style.css">
<!-- classic header for a web page -->
<title>cargo_auto_template_new_wasm</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="Description" content="template for a minimal wasm project for browser">
<meta name="author" content="https://github.com/bestia-dev/cargo_auto_template_new_wasm">
<link rel="stylesheet" href="css/basic_style.css">
</head>
<body>
<!-- warning if javascript iis not enabled -->
<noscript>
<h2>!!!???!!!<br>
This web app<br>
cannot work<br>
without javascript<br>
enabled<br>
!!!???!!!</h2>
</noscript> <!-- display a text while waiting for wasm download.
<!-- warning if javascript iis not enabled -->
<noscript>
<h2>
!!!???!!!<br>
This web app <br>
cannot work <br>
without javascript<br>
enabled<br>
!!!???!!!</h2>
</noscript>
<!-- display a text while waiting for wasm download.
This content will change from the wasm code.-->
<div id="div_for_wasm_html_injecting">
<h2>Waiting to<br>
download<br>
the web app...<br>
This is<br>
very quick on fast<br>
networks...<br></h2>
</div>
<p class="fc_red" id="div_for_errors"></p>
<!-- import and init the wasm code -->
<script type="module">
<div id="div_for_wasm_html_injecting">
<h2>
Waiting to<br>
download <br>
the web app...<br>
This is <br>
very quick on fast<br>
networks...<br>
</h2>
</div>
<p class="fc_red" id="div_for_errors"></p>
<!-- import and init the wasm code -->
<script type="module">
import init from "./pkg/cargo_auto_template_new_wasm.js";
init("./pkg/cargo_auto_template_new_wasm_bg.wasm");
</script>
</script>
</body>
</html>
"###,
</html>"###,
});
vec_file.push(crate::FileItem {
file_name: "web_server_folder/cargo_auto_template_new_wasm/css/basic_style.css",
Expand Down Expand Up @@ -667,7 +670,7 @@ r#"The result is
//! # cargo-auto
//!
//! **cargo-auto - automation tasks written in Rust language for the build process of Rust projects**
//! ***version: 2024.209.135 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***
//! ***version: 2024.209.301 date: 2024-02-09 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/cargo-auto)***
//!
//! ![status](https://img.shields.io/badge/maintained-green)
//! ![status](https://img.shields.io/badge/ready_for_use-green)
Expand All @@ -680,11 +683,11 @@ r#"The result is
//! [![Rust](https://github.com/bestia-dev/cargo-auto/workflows/rust_fmt_auto_build_test/badge.svg)](https://github.com/bestia-dev/cargo-auto/)
//! ![Hits](https://bestia.dev/webpage_hit_counter/get_svg_image/959103982.svg)
//!
//! [![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9179-green.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-1227-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Rust code](https://img.shields.io/badge/Lines_in_Rust-9180-green.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Doc comments](https://img.shields.io/badge/Lines_in_Doc_comments-471-blue.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in Comments](https://img.shields.io/badge/Lines_in_comments-349-purple.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in examples](https://img.shields.io/badge/Lines_in_examples-0-yellow.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1524-orange.svg)](https://github.com/bestia-dev/cargo-auto/)
//! [![Lines in tests](https://img.shields.io/badge/Lines_in_tests-1526-orange.svg)](https://github.com/bestia-dev/cargo-auto/)
//!
//! Hashtags: #rustlang #tutorial #buildtool #developmenttool #cli
//! My projects on GitHub are more like a tutorial than a finished product: [bestia-dev tutorials](https://github.com/bestia-dev/tutorials_rust_wasm).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// but the new service worker will not be activated until all
// tabs with this webapp are closed.

const CACHE_NAME = '2024.209.135';
const CACHE_NAME = '2024.209.301';

self.addEventListener('install', event => {
console.log('event install ', CACHE_NAME);
Expand Down

0 comments on commit 420a412

Please sign in to comment.