Skip to content

Commit

Permalink
update bin und another
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-sapletta-com committed Feb 7, 2020
1 parent 3f2745d commit f4f0aa6
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 11 deletions.
29 changes: 23 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,34 @@
# one
# ProMaGen ONE
https://github.com/promagen/one.git

scripts for one project in one folder

Install on linux

sudo apt install npm

Install on windows


Node on linux

sudo npm install -g npm


sudo npm install -g npm

Start

node ./app.js

## compiling code
install

npm i nexe -g

sudo npm i nexe -g

compile

nexe app.js



Binary file added bin/app
Binary file not shown.
Binary file modified bin/app.exe
Binary file not shown.
16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@
"name": "promagen-one",
"version": "1.0.1",
"description": "compilated version of express app",
"keywords": ["Project","Manager","Generator","Folder","WebUI","GUI","terminal","bash","shell","scripts"],
"keywords": [
"Project",
"Manager",
"Generator",
"Folder",
"WebUI",
"GUI",
"terminal",
"bash",
"shell",
"scripts"
],
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand All @@ -17,9 +28,10 @@
"http-errors": "~1.6.2",
"ini": "^1.3.5",
"morgan": "~1.9.0",
"nexe": "^3.3.2",
"opn": "^5.3.0",
"os-homedir": "^1.0.2",
"pug": "2.0.0-beta11",
"pug": "^2.0.4",
"shelljs": "^0.8.2"
}
}
4 changes: 2 additions & 2 deletions src/get_sh_file_list.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var getBatFileList = function (path, callback) {
var getShFileList = function (path, callback) {
var fsPath = require('fs-path');

fsPath.find(path, function (filepath, stats, filename) {
Expand All @@ -16,4 +16,4 @@ var getBatFileList = function (path, callback) {
// return FileList;
};

module.exports = getBatFileList;
module.exports = getShFileList;
4 changes: 3 additions & 1 deletion test_echo.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
echo "test"
#!/bin/bash
# My test script
echo "Hello World!"

0 comments on commit f4f0aa6

Please sign in to comment.