From 684d471696a7bd5abe341bcba600d58dd2b30b5f Mon Sep 17 00:00:00 2001 From: jem Date: Wed, 10 Feb 2021 13:29:29 +0100 Subject: [PATCH] create app in target --- .gitlab-ci.yml | 8 ++++---- shadow-cljs.edn | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1088b92..a543c4d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,15 +31,15 @@ package: - target/ script: - shadow-cljs compile app - - chmod a+x mastodon-bot.js - - sha256sum mastodon-bot.js > target/mastodon-bot.js.sha256 - - sha512sum mastodon-bot.js > target/mastodon-bot.js.sha512 + - chmod a+x target/mastodon-bot.js + - sha256sum target/mastodon-bot.js > target/mastodon-bot.js.sha256 + - sha512sum target/mastodon-bot.js > target/mastodon-bot.js.sha512 upload: stage: upload script: - mkdir -p target/npm-build/mastodon_bot - - cp mastodon-bot.js target/npm-build/mastodon_bot/ + - cp target/mastodon-bot.js target/npm-build/mastodon_bot/ - cp target/mastodon-bot.js.sha256 target/npm-build/mastodon_bot/ - cp target/mastodon-bot.js.sha512 target/npm-build/mastodon_bot/ - cp package.json target/npm-build/mastodon_bot/ diff --git a/shadow-cljs.edn b/shadow-cljs.edn index a823f03..62e525d 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -7,6 +7,6 @@ :autorun true :repl-pprint true} :app {:target :node-script - :output-to "mastodon-bot.js" + :output-to "target/mastodon-bot.js" :main mastodon-bot.core/main :compiler-options {:optimizations :simple}}}}