Skip to content

Commit

Permalink
Small makefile updates
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Jul 22, 2023
1 parent 62cd94c commit 3a9f13f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 118 deletions.
57 changes: 0 additions & 57 deletions .idea/leantime-oss.iml

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

57 changes: 0 additions & 57 deletions .idea/php.xml

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

9 changes: 5 additions & 4 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build: install-deps
build-dev: install-deps-dev
npx mix

package: install-deps build-js
package: build
mkdir -p $(TARGET_DIR)
cp -R ./app $(TARGET_DIR)
cp -R ./bin $(TARGET_DIR)
Expand Down Expand Up @@ -61,6 +61,10 @@ package: install-deps build-js
#removing uncompiled js files
find $(TARGET_DIR)/public/assets/js/ -depth -mindepth 1 ! -name "*compiled*" -exec rm -rf {} \;

#create zip files
cd target && zip -r -X "Leantime-v$(VERSION)$$1.zip" leantime
cd target && tar -zcvf "Leantime-v$(VERSION)$$1.tar.gz" leantime

gendocs: # Requires github CLI (brew install gh)
# Delete the temporary docs directory if exists
rm -rf $(DOCS_DIR)
Expand All @@ -85,9 +89,6 @@ gendocs: # Requires github CLI (brew install gh)
# Delete the temporary docs directory
rm -rf $(DOCS_DIR)

package:
cd target && zip -r -X "Leantime-v$(VERSION)$$1.zip" leantime
cd target && tar -zcvf "Leantime-v$(VERSION)$$1.tar.gz" leantime

clean:
rm -rf $(TARGET_DIR)
Expand Down

0 comments on commit 3a9f13f

Please sign in to comment.