Skip to content
This repository has been archived by the owner on Mar 22, 2020. It is now read-only.

Commit

Permalink
core: completed deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
trouch committed May 27, 2019
1 parent 048a98d commit 0f56916
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
resources/definitions/fdm**
resources/quality/**
resources/variants/**
resources/**
6 changes: 6 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

SRC_COPY="definitions images meshes setting_visibility"
SRC_MACHINES="machines"
SRC_QUALITIES="src/quality"
SRC_VARIANTS="src/variants"
Expand Down Expand Up @@ -51,4 +52,9 @@ MACHINES=`cat $SRC_MACHINES`
QUALITIES=`ls $SRC_QUALITIES`
VARIANTS=`ls $SRC_VARIANTS`

mkdir -p resources/variants
for C in $SRC_COPY
do mkdir -p resources/$C; cp -r src/$C resources/$C
done

processMachines "$QUALITIES" "$VARIANTS" "$MACHINES"

0 comments on commit 0f56916

Please sign in to comment.