diff options
author | 2020-01-14 20:47:19 +0100 | |
---|---|---|
committer | 2020-01-14 20:47:19 +0100 | |
commit | e57a73a11fb100baba065daae82d04f4f4d63610 (patch) | |
tree | 335be726e905b0379fd3faff6e779403cd7c2b0e /scripts/package.js | |
parent | Remove Mastodon recipe (diff) | |
download | ferdium-recipes-e57a73a11fb100baba065daae82d04f4f4d63610.tar.gz ferdium-recipes-e57a73a11fb100baba065daae82d04f4f4d63610.tar.zst ferdium-recipes-e57a73a11fb100baba065daae82d04f4f4d63610.zip |
Add github script
Diffstat (limited to 'scripts/package.js')
-rw-r--r-- | scripts/package.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/package.js b/scripts/package.js index 581d23c..2be3a69 100644 --- a/scripts/package.js +++ b/scripts/package.js | |||
@@ -55,9 +55,6 @@ Please make sure it contains: id, name, config`); | |||
55 | return; | 55 | return; |
56 | } | 56 | } |
57 | 57 | ||
58 | // Move readme.txt outside of recipe_src folder | ||
59 | await fs.move(path.join(recipeSrc, 'readme.txt'), './readme.txt'); | ||
60 | |||
61 | // Package to .tar.gz | 58 | // Package to .tar.gz |
62 | console.log(`Packaging ${config.id}...`); | 59 | console.log(`Packaging ${config.id}...`); |
63 | compress(recipeSrc, path.join('../', `${config.id}.tar.gz`)); | 60 | compress(recipeSrc, path.join('../', `${config.id}.tar.gz`)); |
@@ -94,8 +91,5 @@ Please make sure it contains: id, name, config`); | |||
94 | EOL: '\n', | 91 | EOL: '\n', |
95 | }); | 92 | }); |
96 | 93 | ||
97 | // Move readme.txt back into recipe_src | ||
98 | await fs.move('./readme.txt', path.join(recipeSrc, 'readme.txt')); | ||
99 | |||
100 | console.log(`Successfully packaged and added new package ${config.id}`); | 94 | console.log(`Successfully packaged and added new package ${config.id}`); |
101 | })(); \ No newline at end of file | 95 | })(); \ No newline at end of file |