Skip to content

Commit

Permalink
Fix the example example
Browse files Browse the repository at this point in the history
  • Loading branch information
ssorj committed Jan 13, 2024
1 parent caf08de commit 24c5778
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 2 deletions.
1 change: 0 additions & 1 deletion test-example/.plano.py

This file was deleted.

20 changes: 20 additions & 0 deletions test-example/.plano.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

from skewer.planocommands import *
1 change: 0 additions & 1 deletion test-example/plano

This file was deleted.

28 changes: 28 additions & 0 deletions test-example/plano
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/usr/bin/python3
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

import sys

sys.path.insert(0, "python")

from plano import PlanoCommand

if __name__ == "__main__":
PlanoCommand().main()
1 change: 1 addition & 0 deletions test-example/python/plano

0 comments on commit 24c5778

Please sign in to comment.