Skip to content

Commit

Permalink
Move changes from build script to Windfile
Browse files Browse the repository at this point in the history
  • Loading branch information
magaupp committed Oct 13, 2024
1 parent 1f222e5 commit 081bb0f
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/templates/aeolus/c/fact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ setup_the_build_environment () {
# Task Description:
# Build and run all tests
# ------------------------------
# Updating assignment and test-reports ownership...
# Updating ${studentParentWorkingDirectoryName} and test-reports ownership...
sudo chown artemis_user:artemis_user ${studentParentWorkingDirectoryName}/ -R || true
sudo mkdir test-reports
sudo chown artemis_user:artemis_user test-reports/ -R || true
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/templates/aeolus/c/fact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ actions:
# Task Description:
# Build and run all tests
# ------------------------------
# Updating assignment and test-reports ownership...
# Updating ${studentParentWorkingDirectoryName} and test-reports ownership...
sudo chown artemis_user:artemis_user ${studentParentWorkingDirectoryName}/ -R || true
sudo mkdir test-reports
sudo chown artemis_user:artemis_user test-reports/ -R || true
Expand All @@ -32,4 +32,3 @@ actions:
- name: junit_test-reports/tests-results.xml
path: test-reports/tests-results.xml
type: junit

2 changes: 1 addition & 1 deletion src/main/resources/templates/aeolus/c/gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ setup_the_build_environment () {
# Build and run all tests
# ------------------------------

# Updating assignment and test-reports ownership...
# Updating ${studentParentWorkingDirectoryName} and test-reports ownership...
sudo chown artemis_user:artemis_user ${studentParentWorkingDirectoryName}/ -R
mkdir test-reports
chown artemis_user:artemis_user test-reports/ -R
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/aeolus/c/gcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ actions:
# Build and run all tests
# ------------------------------
# Updating assignment and test-reports ownership...
# Updating ${studentParentWorkingDirectoryName} and test-reports ownership...
sudo chown artemis_user:artemis_user ${studentParentWorkingDirectoryName}/ -R
mkdir test-reports
chown artemis_user:artemis_user test-reports/ -R
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/aeolus/c/gcc_static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ setup_the_build_environment () {
# Build and run all tests
# ------------------------------

# Updating assignment and test-reports ownership...
# Updating ${studentParentWorkingDirectoryName} and test-reports ownership...
sudo chown artemis_user:artemis_user ${studentParentWorkingDirectoryName}/ -R
mkdir test-reports
chown artemis_user:artemis_user test-reports/ -R
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/aeolus/c/gcc_static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ actions:
# Build and run all tests
# ------------------------------
# Updating assignment and test-reports ownership...
# Updating ${studentParentWorkingDirectoryName} and test-reports ownership...
sudo chown artemis_user:artemis_user ${studentParentWorkingDirectoryName}/ -R
mkdir test-reports
chown artemis_user:artemis_user test-reports/ -R
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/aeolus/swift/plain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build_and_test_the_code () {
cp -R Tests ${studentParentWorkingDirectoryName}
cp Package.swift ${studentParentWorkingDirectoryName}

# In order to get the correct console output we need to execute the command within the assignment directory
# In order to get the correct console output we need to execute the command within the ${studentParentWorkingDirectoryName} directory
# swift build
cd ${studentParentWorkingDirectoryName}
swift build || error=true
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/aeolus/swift/plain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ actions:
cp -R Tests ${studentParentWorkingDirectoryName}
cp Package.swift ${studentParentWorkingDirectoryName}
# In order to get the correct console output we need to execute the command within the assignment directory
# In order to get the correct console output we need to execute the command within the ${studentParentWorkingDirectoryName} directory
# swift build
cd ${studentParentWorkingDirectoryName}
swift build || error=true
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/aeolus/swift/plain_static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build_and_test_the_code () {
cp -R Tests ${studentParentWorkingDirectoryName}
cp Package.swift ${studentParentWorkingDirectoryName}

# In order to get the correct console output we need to execute the command within the assignment directory
# In order to get the correct console output we need to execute the command within the ${studentParentWorkingDirectoryName} directory
# swift build
cd ${studentParentWorkingDirectoryName}
swift build || error=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ actions:
cp -R Tests ${studentParentWorkingDirectoryName}
cp Package.swift ${studentParentWorkingDirectoryName}
# In order to get the correct console output we need to execute the command within the assignment directory
# In order to get the correct console output we need to execute the command within the ${studentParentWorkingDirectoryName} directory
# swift build
cd ${studentParentWorkingDirectoryName}
swift build || error=true
Expand Down

0 comments on commit 081bb0f

Please sign in to comment.